-
Notifications
You must be signed in to change notification settings - Fork 136
39 lines (36 loc) · 1.08 KB
/
update-go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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