Update Atlas Go SDK #136
This file contains hidden or 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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
| - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 | |
| 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@271a8d0340265f705b14b6d32b9829c1cb33d45e | |
| 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 |