Skip to content

Update Atlas Go SDK #85

Update Atlas Go SDK

Update Atlas Go SDK #85

Workflow file for this run

name: Update Atlas Go SDK
# Checks if a new Atlas Go SDK version is available and creates a pull request adjusting version in codebase. Runs once per week and can be triggered manually.
on:
schedule:
- cron: "30 8 * * TUE" # Every Tuesday at 8:30 AM
workflow_dispatch:
jobs:
update-sdk:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
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@93ebf6810c83499e08849f66917573f05129589c
id: verify-changed-files
- name: Create PR
uses: peter-evans/create-pull-request@8867c4aba1b742c39f8d0ba35429c2dfa4b6cb20
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