File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 11name : Build PHARs
22
33on :
4- # Run on pushes to master and on all pull requests.
4+ # Run on pushes to master and on pull requests which touch files used when building the PHARs .
55 # Prevent the build from running when there are only irrelevant changes.
66 push :
77 branches :
88 - master
9- paths-ignore :
10- - ' **.md'
9+ paths :
10+ - ' .github/workflows/build-phar.yml'
11+ - ' scripts/build-phar.php'
12+ - ' autoload.php'
13+ - ' src/Config.php'
14+ - ' src/Exceptions/RuntimeException.php'
15+ - ' src/Exceptions/TokenizerException.php'
16+ - ' src/Tokenizers/PHP.php'
17+ - ' src/Util/Tokens.php'
1118 pull_request :
19+ paths :
20+ - ' .github/workflows/build-phar.yml'
21+ - ' scripts/build-phar.php'
22+ - ' autoload.php'
23+ - ' src/Config.php'
24+ - ' src/Exceptions/RuntimeException.php'
25+ - ' src/Exceptions/TokenizerException.php'
26+ - ' src/Tokenizers/PHP.php'
27+ - ' src/Util/Tokens.php'
28+
1229 # Allow manually triggering the workflow.
1330 workflow_dispatch :
1431
You can’t perform that action at this time.
0 commit comments