This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git


The following commit(s) were added to refs/heads/master by this push:
     new ad9831e17 RATIS-2586. zizmor check should reflect failure in fork 
(#1504)
ad9831e17 is described below

commit ad9831e1748b94d51635ff329ed3c00c5788aea1
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Jul 7 08:29:04 2026 +0200

    RATIS-2586. zizmor check should reflect failure in fork (#1504)
---
 .github/workflows/zizmor.yaml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/zizmor.yaml b/.github/workflows/zizmor.yaml
index 36d715ea2..bf31f22e5 100644
--- a/.github/workflows/zizmor.yaml
+++ b/.github/workflows/zizmor.yaml
@@ -21,10 +21,18 @@ on:
       - 'dependabot/**'
     tags:
       - '**'
+    paths:
+      - '.github/workflows/**'
   pull_request:
+    paths:
+      - '.github/workflows/**'
 
 permissions: { }
 
+concurrency:
+  group: ${{ github.workflow }}-${{ github.event.pull_request.number || 
case(github.repository_owner == 'apache', github.sha, github.ref_name) }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' || 
github.repository_owner != 'apache' }}
+
 jobs:
   zizmor:
     runs-on: ubuntu-latest
@@ -38,3 +46,5 @@ jobs:
 
     - name: Run zizmor
       uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa 
# v0.5.7
+      with:
+        advanced-security: ${{ github.repository_owner == 'apache' }}

Reply via email to