lhotari opened a new pull request #19:
URL: https://github.com/apache/pulsar-test-infra/pull/19


   ### Motivation
   
   Because of security restrictions, public actions cannot be used directly
   in ASF GitHub Action workflows. The options are either whitelisting the
   action's repository + SHA or by creating a copy of the action or by
   forking the original repository. GitHub Actions don't support git 
submodules, so
   that is not an option. This commit creates a copy of the files
   which is suitable for including the action in apache/pulsar-test-infra
   repository.
   
   This action can be referenced with
   ```
   uses: apache/pulsar-test-infra/paths-filter@master
   ```
   
   paths-filter action is needed by changes in 
https://github.com/apache/pulsar/pull/9963
   
   ### Modifications
   
   Commands used to create the copy in pulsar-test-infra:
   ```
   git clone --depth 1 https://github.com/dorny/paths-filter
   cd paths-filter
   git checkout ca8fa4002c226cbab8b50cc157d3f47899a49762
   rm -rf .git .github
   cd ..
   git add paths-filter
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to