Skip to content

Commit 6f08cea

Browse files
committed
Set base for golanci-lint update PR
We cannot run this on PRs since that would require more privileges. We can still manually trigger it to run on a specific branch as a way of testing the workflow. Also fix the syntax for add-paths. It should be a comma or newline separated list of paths, but we had an extra "-" in front of the path. Signed-off-by: Lennart Jern <[email protected]>
1 parent d9679f5 commit 6f08cea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
This PR was generated by GH workflow `update-golangci-lint` and
4949
updates golangci-lint to version v${{ steps.get_version.outputs.latest_version }}.
5050
branch: update-golangci-lint-${{ steps.get_version.outputs.latest_version }}
51+
base: main
5152
labels: "area/dependency"
5253
add-paths: |
53-
- hack/tools/Makefile
54+
hack/tools/Makefile

0 commit comments

Comments
 (0)