go-updater #133
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: go-updater | |
on: | |
schedule: | |
- cron: '0 12 * * *' | |
workflow_dispatch: | |
jobs: | |
update-go: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
check-latest: true | |
- name: Update Go | |
run: go get go | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
token: ${{ secrets.CARVEL_BOT_ACCESS_TOKEN }} | |
committer: Carvel Bot <[email protected]> | |
author: Carvel Bot <[email protected]> | |
commit-message: | | |
Bump go | |
Signed-off-by: Carvel Bot <[email protected]> | |
title: Bump go | |
delete-branch: true | |
body: | | |
Auto-generated by https://github.com/${{github.repository}}/actions/runs/${{github.run_id}} | |
Signed-off-by: Carvel Bot <[email protected]> | |
base: develop | |
branch: bump-go |