File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 7575 commit_message : " [AUTO] rename Go module + update internal import paths\n\n Workflow: ${{ steps.vars.outputs.WORKFLOW_HASH }} on branch ${{ github.ref_name }}"
7676 repo : ${{ github.repository }}
7777 branch : ${{ steps.vars.outputs.DEST_BRANCH }}
78+
79+ - name : Update .github yml files "go-version" properties
80+ shell : bash
81+ run : |
82+ gomodver=$(sed -n 's/^go \([0-9.]*\)/\1/p' go.mod)
83+ sed -i '' -E "s/go-version: 1\.[0-9]\+/go-version: \$gomodver/g" .github/workflows/*.yml
84+
85+ - name : Signed commit to branch
86+ uses : planetscale/ghcommit-action@d4176bfacef926cc2db351eab20398dfc2f593b5 # v0.2.0
87+ env :
88+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
89+ with :
90+ commit_message : " [AUTO] update .github workflows go-version properties"
91+ repo : ${{ github.repository }}
92+ branch : ${{ needs.rename-module.outputs.vars.DEST_BRANCH }}
You can’t perform that action at this time.
0 commit comments