Skip to content

Update Atlas Go SDK #66

Update Atlas Go SDK

Update Atlas Go SDK #66

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@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
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@4e3fbc4714b4709261bf264cc419a4a75011399b
id: verify-changed-files
- name: Create PR
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e
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