File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
name : Weekly go version check
2
2
3
3
on :
4
- workflow_dispatch :
5
- push :
6
- branches :
7
- - automate-go-patching
4
+ # workflow_dispatch:
5
+ # push:
6
+ # branches:
7
+ # - automate-go-patching
8
8
schedule :
9
9
# Cron for every Mon at 12:00 UTC.
10
10
- cron : " 0 12 * * 1"
19
19
strategy :
20
20
fail-fast : false
21
21
matrix :
22
- branch : [automate-go-patching ]
22
+ branch : [main ]
23
23
runs-on : ubuntu-latest
24
24
steps :
25
25
- name : Checkout code
34
34
id : patch-version
35
35
run : |
36
36
echo "GO_PATCH_VERSION=$(curl --silent https://go.dev/VERSION?m=text | sed -n 's/^go\([0-9.]*\).*/\1/p')" >> $GITHUB_ENV
37
- pwd
38
37
- name : Replace go_patch_version in Makefile
39
38
run : sed -i 's/GO_VERSION ?= [0-9\.]*/GO_VERSION ?= ${{ env.GO_PATCH_VERSION }}/' Makefile
40
39
- name : Replace go_patch_version in Tiltfile
45
44
commit-message : Bump to Go ${{ env.GO_PATCH_VERSION }}
46
45
title : " Bump to Go patch version ${{ env.GO_PATCH_VERSION }}"
47
46
body : |
48
- This PR promotes current GO version to the latest patch version of ${GO_PATCH_VERSION}
47
+ This PR promotes current GO version to the latest patch version of ${{ env. GO_PATCH_VERSION } }
49
48
branch : promote-go-patch-version-${{ env.GO_PATCH_VERSION }}
You can’t perform that action at this time.
0 commit comments