Przeglądaj źródła

fix: Unblock CI (#6874)

Without this, the PR not impacting workflows will not trigger
zizmor run.

This is a problem, as zizmor is _now mandatory_ (rightfully so) in the
repository.

This changes so that any commit is reviewed by zizmor.
This is totally valid if something has an impact on actions but was not
a change in workflows.

This also maps to the zizmor documentation for github actions [1].

[1]: https://docs.zizmor.sh/integrations/#github-actions

Signed-off-by: Jean-Philippe Evrard <jean-philippe.evrard+rochepub@external.roche.com>
Jean-Philippe Evrard 4 dni temu
rodzic
commit
09d5a8c2b8
1 zmienionych plików z 2 dodań i 8 usunięć
  1. 2 8
      .github/workflows/zizmor.yml

+ 2 - 8
.github/workflows/zizmor.yml

@@ -2,15 +2,9 @@ name: Zizmor Actions Scanner
 
 on:
   push:
-    branches:
-      - main
-    paths:
-      - '.github/workflows/**'
+    branches: ["main"]
   pull_request:
-    branches:
-      - main
-    paths:
-      - '.github/workflows/**'
+    branches: ["**"]
 
 permissions:
   contents: read