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 1
1
name : Build PHARs
2
2
3
3
on :
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 .
5
5
# Prevent the build from running when there are only irrelevant changes.
6
6
push :
7
7
branches :
8
8
- 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'
11
18
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
+
12
29
# Allow manually triggering the workflow.
13
30
workflow_dispatch :
14
31
You can’t perform that action at this time.
0 commit comments