Update Atlas Go SDK #24
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@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Update files | |
run: make tools update-atlas-sdk | |
- name: Verify Changed files | |
uses: tj-actions/verify-changed-files@2a93ea6f3eef7ba31bb9b4fe83dab787a45356fb | |
id: verify-changed-files | |
- name: Create PR | |
uses: peter-evans/create-pull-request@v5 | |
if: steps.verify-changed-files.outputs.files_changed == 'true' | |
with: | |
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 |