Skip to content

Commit a63c72d

Browse files
committed
to keep
1 parent 3883a47 commit a63c72d

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.github/workflows/update-golangci-lint.yaml

+5-10
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,13 @@ jobs:
3838
run: |
3939
sed -i "s/GOLANGCI_LINT_VERSION ?= .*/GOLANGCI_LINT_VERSION ?= ${{ steps.get_version.outputs.latest_version }}/" hack/tools/Makefile
4040
sed -i "s/GOLANGCI_LINT_VERSION ?= .*/GOLANGCI_LINT_VERSION ?= foo/" hack/tools/Makefile
41-
- name: Commit changes
42-
run: |
43-
git config --global user.name "github-actions[bot]"
44-
git config --global user.email "github-actions[bot]@users.noreply.github.com"
45-
git checkout -b update-golangci-lint-${{ steps.get_version.outputs.latest_version }}
46-
git add hack/tools/Makefile
47-
git commit -m "chore: bump golangci-lint to v${{ steps.get_version.outputs.latest_version }}"
48-
git push origin update-golangci-lint-${{ steps.get_version.outputs.latest_version }}
4941
- name: Create Pull Request
50-
uses: peter-evans/create-pull-request@v6
42+
uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284 # tag=v7.0.7
5143
with:
52-
title: "🌱 chore: bump golangci-lint to v${{ steps.get_version.outputs.latest_version }}"
44+
commit-message: "This commit updates golangci-lint to version v${{ steps.get_version.outputs.latest_version }}."
45+
title: ":seedling: chore: bump golangci-lint to v${{ steps.get_version.outputs.latest_version }}"
5346
body: "This PR updates golangci-lint to version v${{ steps.get_version.outputs.latest_version }}."
5447
branch: update-golangci-lint-${{ steps.get_version.outputs.latest_version }}
5548
labels: "area/dependency"
49+
add-paths: |
50+
- hack/tools/Makefile

0 commit comments

Comments
 (0)