Update Atlas Go SDK #81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed | |
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@530d86d0a237225c87beaa000750988f8965ee31 | |
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 |