From b10b418bb078e6242e9de80ebfe8ee059c4e94e8 Mon Sep 17 00:00:00 2001 From: Lennart Jern Date: Mon, 18 Aug 2025 08:01:24 +0000 Subject: [PATCH] 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 --- .github/workflows/update-golangci-lint.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-golangci-lint.yaml b/.github/workflows/update-golangci-lint.yaml index ce254a6134..2b9d0b44ae 100644 --- a/.github/workflows/update-golangci-lint.yaml +++ b/.github/workflows/update-golangci-lint.yaml @@ -1,9 +1,6 @@ name: Update golangci-lint version on: - pull_request: - paths: - - '.github/workflows/update-golangci-lint.yaml' schedule: - cron: '0 0 * * *' # Runs every day at midnight UTC workflow_dispatch: # Allows manual triggering @@ -48,6 +45,7 @@ jobs: This PR was generated by GH workflow `update-golangci-lint` and updates golangci-lint to version v${{ steps.get_version.outputs.latest_version }}. branch: update-golangci-lint-${{ steps.get_version.outputs.latest_version }} + base: main labels: "area/dependency" add-paths: | - - hack/tools/Makefile + hack/tools/Makefile