-
Notifications
You must be signed in to change notification settings - Fork 37
30 lines (29 loc) · 1.11 KB
/
update-sdk.yml
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
27
28
29
30
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version-file: 'cfn-resources/go.mod'
- name: Update files
run: make tools update-atlas-sdk generate-mocks
- name: Verify Changed files
uses: tj-actions/verify-changed-files@54483a2138ca67989bc40785aa22faee8b085894
id: verify-changed-files
- name: Create PR
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f
if: steps.verify-changed-files.outputs.files_changed == 'true'
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