Skip to content

Commit b10b418

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 b10b418

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
name: Update golangci-lint version
22

33
on:
4-
pull_request:
5-
paths:
6-
- '.github/workflows/update-golangci-lint.yaml'
74
schedule:
85
- cron: '0 0 * * *' # Runs every day at midnight UTC
96
workflow_dispatch: # Allows manual triggering
@@ -48,6 +45,7 @@ jobs:
4845
This PR was generated by GH workflow `update-golangci-lint` and
4946
updates golangci-lint to version v${{ steps.get_version.outputs.latest_version }}.
5047
branch: update-golangci-lint-${{ steps.get_version.outputs.latest_version }}
48+
base: main
5149
labels: "area/dependency"
5250
add-paths: |
53-
- hack/tools/Makefile
51+
hack/tools/Makefile

0 commit comments

Comments
 (0)