Skip to content

Commit ad2e6cc

Browse files
committed
update with weekly cron value only & main branch
1 parent 7b500d2 commit ad2e6cc

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/weekly-go-version-check.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Weekly go version check
22

33
on:
4-
workflow_dispatch:
5-
push:
6-
branches:
7-
- automate-go-patching
4+
# workflow_dispatch:
5+
# push:
6+
# branches:
7+
# - automate-go-patching
88
schedule:
99
# Cron for every Mon at 12:00 UTC.
1010
- cron: "0 12 * * 1"
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
branch: [automate-go-patching]
22+
branch: [main]
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout code
@@ -34,7 +34,6 @@ jobs:
3434
id: patch-version
3535
run: |
3636
echo "GO_PATCH_VERSION=$(curl --silent https://go.dev/VERSION?m=text | sed -n 's/^go\([0-9.]*\).*/\1/p')" >> $GITHUB_ENV
37-
pwd
3837
- name: Replace go_patch_version in Makefile
3938
run: sed -i 's/GO_VERSION ?= [0-9\.]*/GO_VERSION ?= ${{ env.GO_PATCH_VERSION }}/' Makefile
4039
- name: Replace go_patch_version in Tiltfile
@@ -45,5 +44,5 @@ jobs:
4544
commit-message: Bump to Go ${{ env.GO_PATCH_VERSION }}
4645
title: "Bump to Go patch version ${{ env.GO_PATCH_VERSION }}"
4746
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 }}
4948
branch: promote-go-patch-version-${{ env.GO_PATCH_VERSION }}

0 commit comments

Comments
 (0)