-
Notifications
You must be signed in to change notification settings - Fork 42
26 lines (25 loc) · 909 Bytes
/
update-sdk.yml
File metadata and controls
26 lines (25 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Update Atlas Go SDK
on:
schedule:
- cron: "30 8 * * TUE" # Every Tuesday at 8:30 AM
workflow_dispatch:
jobs:
update-sdk:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c
with:
go-version-file: 'cfn-resources/go.mod'
- name: Update files
run: make tools update-atlas-sdk generate-mocks
- name: Create PR
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676
with:
token: ${{ secrets.APIX_BOT_PAT }}
title: "chore: Updates Atlas Go SDK"
commit-message: "build(deps): bump go.mongodb.org/atlas-sdk"
delete-branch: true
branch: atlas-sdk-update
body: Automatic update for MongoDB Atlas Go Client SDK