File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,10 @@ jobs:
3232 echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
3333 echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_OUTPUT
3434 - name : Update Makefile if needed
35- if : ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
3635 run : |
37- sed -i "s/GOLANGCI_LINT_VERSION=.*/GOLANGCI_LINT_VERSION=${{ steps.get_version.outputs.latest_version }}/" hack/tools/Makefile
36+ sed -i "s/GOLANGCI_LINT_VERSION ?= .*/GOLANGCI_LINT_VERSION ?= ${{ steps.get_version.outputs.latest_version }}/" hack/tools/Makefile
37+ sed -i "s/GOLANGCI_LINT_VERSION ?= .*/GOLANGCI_LINT_VERSION ?= foo/" hack/tools/Makefile
3838 - name : Commit changes
39- if : ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
4039 run : |
4140 git config --global user.name "github-actions[bot]"
4241 git config --global user.email "github-actions[bot]@users.noreply.github.com"
4544 git commit -m "chore: bump golangci-lint to v${{ steps.get_version.outputs.latest_version }}"
4645 git push origin update-golangci-lint-${{ steps.get_version.outputs.latest_version }}
4746 - name : Create Pull Request
48- if : ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
4947 uses : peter-evans/create-pull-request@v6
5048 with :
5149 title : " 🌱 chore: bump golangci-lint to v${{ steps.get_version.outputs.latest_version }}"
You can’t perform that action at this time.
0 commit comments