Skip to content

Update Atlas Go SDK #94

Update Atlas Go SDK

Update Atlas Go SDK #94

Workflow file for this run

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@f111f3307d8850f501ac008e886eec1fd1932a34
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@6b59fb7cbb8d9a6ecc10ee556496d0078a9ed957
id: verify-changed-files
- name: Create PR
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f
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