File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,10 @@ jobs:
35
35
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
36
36
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_OUTPUT
37
37
- name : Update Makefile if needed
38
- if : ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
39
38
run : |
40
39
sed -i "s/GOLANGCI_LINT_VERSION ?= .*/GOLANGCI_LINT_VERSION ?= ${{ steps.get_version.outputs.latest_version }}/" hack/tools/Makefile
40
+ sed -i "s/GOLANGCI_LINT_VERSION ?= .*/GOLANGCI_LINT_VERSION ?= foo/" hack/tools/Makefile
41
41
- name : Create Pull Request
42
- if : ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
43
42
uses : peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284 # tag=v7.0.7
44
43
with :
45
44
commit-message : " This commit updates golangci-lint to version v${{ steps.get_version.outputs.latest_version }}."
You can’t perform that action at this time.
0 commit comments