File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-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+ update-golangci :
80+ runs-on : ubuntu-latest
81+ needs : rename-module
82+ steps :
83+ - uses : actions/checkout@v4
84+ with :
85+ ref : ${{ needs.rename-module.outputs.vars.DEST_BRANCH }}
86+ depth : 1
87+
88+ - name : Update .golangci.yml new-from-rev
89+ uses : fjogeleit/yaml-update-action@main
90+ with :
91+ valueFile : " .golangci.yml"
92+ propertyPath : " issues.new-from-rev"
93+ value : $(git rev-parse HEAD)
94+ commitChange : false
95+
96+ - name : Signed commit to branch
97+ uses : planetscale/ghcommit-action@d4176bfacef926cc2db351eab20398dfc2f593b5 # v0.2.0
98+ env :
99+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
100+ with :
101+ commit_message : " [AUTO] update .golangci.yml new-from-rev"
102+ repo : ${{ github.repository }}
103+ branch : ${{ needs.rename-module.outputs.vars.DEST_BRANCH }}
You can’t perform that action at this time.
0 commit comments