name: Bump Go on: schedule: - cron: "0 3 * * *" # 3 AM UTC workflow_dispatch: permissions: contents: write pull-requests: write jobs: bump-go: runs-on: ubuntu-latest steps: - name: Checkout repository uses: actions/checkout@v6 - name: Set up Go uses: actions/setup-go@v6 with: go-version-file: 'go.mod' - name: Bump Go version env: GIT_COMMITTER_NAME: cli automation GIT_AUTHOR_NAME: cli automation GIT_COMMITTER_EMAIL: noreply@github.com GIT_AUTHOR_EMAIL: noreply@github.com GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | bash .github/workflows/scripts/bump-go.sh --apply go.mod