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

wangdan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new fd39e6fc4 ci(github): pin the action `dorny/paths-filter` to the 
commit SHA pointing to `v3.0.2` (#2275)
fd39e6fc4 is described below

commit fd39e6fc43414b1937da3944ea9d2a7f3c985e92
Author: Dan Wang <[email protected]>
AuthorDate: Mon Aug 4 14:41:27 2025 +0800

    ci(github): pin the action `dorny/paths-filter` to the commit SHA pointing 
to `v3.0.2` (#2275)
    
    Resolve https://github.com/apache/incubator-pegasus/issues/2276.
    
    According to the the reply from INFRA team[1] and the doc of infrastructure
    actions[2], the actions in allow list must be pinned to a SHA rather than a 
tag
    as of August 1st.
    
    Only the action `rebuild_thirdparty_if_needed`[3] uses `dorny/paths-filter`.
    Events are also added to the workflows depending on it so that they could be
    triggered once it is changed.
    
    1. https://issues.apache.org/jira/browse/INFRA-27084
    2. 
https://github.com/apache/infrastructure-actions/?tab=readme-ov-file#adding-a-new-action-to-the-allow-list
    3. 
https://github.com/apache/incubator-pegasus/blob/master/.github/actions/rebuild_thirdparty_if_needed/action.yaml#L22
---
 .github/actions/rebuild_thirdparty_if_needed/action.yaml | 2 +-
 .github/workflows/lint_and_test_go-client.yml            | 1 +
 .github/workflows/lint_and_test_java-client.yml          | 1 +
 .github/workflows/lint_and_test_scala-client.yml         | 1 +
 .github/workflows/test_nodejs-client.yml                 | 1 +
 .github/workflows/test_python-client.yml                 | 1 +
 6 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/actions/rebuild_thirdparty_if_needed/action.yaml 
b/.github/actions/rebuild_thirdparty_if_needed/action.yaml
index 06d12c6cd..18f2e1081 100644
--- a/.github/actions/rebuild_thirdparty_if_needed/action.yaml
+++ b/.github/actions/rebuild_thirdparty_if_needed/action.yaml
@@ -19,7 +19,7 @@ name: Rebuild thirdparty if needed
 runs:
   using: composite
   steps:
-    - uses: dorny/[email protected]
+    - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36
       id: changes
       with:
         filters: |
diff --git a/.github/workflows/lint_and_test_go-client.yml 
b/.github/workflows/lint_and_test_go-client.yml
index 8f935ee02..14d1455be 100644
--- a/.github/workflows/lint_and_test_go-client.yml
+++ b/.github/workflows/lint_and_test_go-client.yml
@@ -29,6 +29,7 @@ on:
       - ci-test # testing branch for github action
       - '*dev'
     paths:
+      - .github/actions/**
       - .github/workflows/lint_and_test_go-client.yml
       - go-client/**
 
diff --git a/.github/workflows/lint_and_test_java-client.yml 
b/.github/workflows/lint_and_test_java-client.yml
index 2b21e947d..48a17be84 100644
--- a/.github/workflows/lint_and_test_java-client.yml
+++ b/.github/workflows/lint_and_test_java-client.yml
@@ -25,6 +25,7 @@ on:
         - ci-test # testing branch for github action
         - '*dev'      # developing branch
     paths:
+      - .github/actions/**
       - .github/workflows/lint_and_test_java-client.yml
       - java-client/**
 
diff --git a/.github/workflows/lint_and_test_scala-client.yml 
b/.github/workflows/lint_and_test_scala-client.yml
index 4368e6b71..6e7f74dd5 100644
--- a/.github/workflows/lint_and_test_scala-client.yml
+++ b/.github/workflows/lint_and_test_scala-client.yml
@@ -22,6 +22,7 @@ on:
       - master
       - 'v[0-9]+.*' # release branch
     paths:
+      - .github/actions/**
       - .github/workflows/lint_and_test_scala-client.yml
       - scala-client/**
 
diff --git a/.github/workflows/test_nodejs-client.yml 
b/.github/workflows/test_nodejs-client.yml
index e662e2458..6f6d2b671 100644
--- a/.github/workflows/test_nodejs-client.yml
+++ b/.github/workflows/test_nodejs-client.yml
@@ -24,6 +24,7 @@ on:
         - ci-test # testing branch for github action
         - '*dev'      # developing branch
     paths:
+      - .github/actions/**
       - .github/workflows/test_nodejs-client.yml
       - nodejs-client/**
 
diff --git a/.github/workflows/test_python-client.yml 
b/.github/workflows/test_python-client.yml
index f846be60f..f92957170 100644
--- a/.github/workflows/test_python-client.yml
+++ b/.github/workflows/test_python-client.yml
@@ -24,6 +24,7 @@ on:
         - ci-test # testing branch for github action
         - '*dev'      # developing branch
     paths:
+      - .github/actions/**
       - .github/workflows/test_python-client.yml
       - python-client/**
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to