File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : build
2+
13on :
24 pull_request :
3- paths-ignore :
4- - ' docs/**'
5- - ' README.md'
6- - ' CHANGELOG.md'
7- - ' .gitignore'
8- - ' .gitattributes'
9- - ' psalm.xml'
10-
5+ paths : &paths
6+ - ' public/**'
7+ - ' src/**'
8+ - ' config/**'
9+ - ' tests/**'
10+ - ' codeception.yml'
11+ - ' composer.json'
12+ - ' yii'
13+ - ' yii.bat'
14+ - ' .github/workflows/build.yml'
1115 push :
1216 branches : ['master']
13- paths-ignore :
14- - ' docs/**'
15- - ' README.md'
16- - ' CHANGELOG.md'
17- - ' .gitignore'
18- - ' .gitattributes'
19- - ' psalm.xml'
17+ paths : *paths
2018
21- name : build
19+ permissions :
20+ contents : read
2221
2322concurrency :
2423 group : ${{ github.workflow }}-${{ github.ref }}
2524 cancel-in-progress : true
2625
27- permissions :
28- contents : read
29-
3026jobs :
3127 codeception :
3228 name : PHP ${{ matrix.php }}-${{ matrix.os }}
Original file line number Diff line number Diff line change 1+ name : Composer dependency analyzer
2+
13on :
24 pull_request :
3- paths-ignore :
4- - ' docs/**'
5- - ' README.md'
6- - ' CHANGELOG.md'
7- - ' .gitignore'
8- - ' .gitattributes'
9- - ' phpunit.xml.dist'
10- - ' psalm.xml'
11-
5+ paths : &paths
6+ - ' public/**'
7+ - ' src/**'
8+ - ' config/**'
9+ - ' tests/**'
10+ - ' composer.json'
11+ - ' composer-dependency-analyser.php'
12+ - ' yii'
13+ - ' yii.bat'
14+ - ' .github/workflows/composer-dependency-analyzer.yml'
1215 push :
1316 branches : ['master']
14- paths-ignore :
15- - ' docs/**'
16- - ' README.md'
17- - ' CHANGELOG.md'
18- - ' .gitignore'
19- - ' .gitattributes'
20- - ' phpunit.xml.dist'
21- - ' psalm.xml'
17+ paths : *paths
2218
23- name : Composer dependency analyzer
19+ permissions :
20+ contents : read
2421
2522concurrency :
2623 group : ${{ github.workflow }}-${{ github.ref }}
2724 cancel-in-progress : true
2825
29- permissions :
30- contents : read
31-
3226jobs :
3327 analyzer :
3428 name : PHP ${{ matrix.php }}-${{ matrix.os }}
Original file line number Diff line number Diff line change 11name : Code Style
22
3- concurrency :
4- group : ${{ github.workflow }}-${{ github.ref }}
5- cancel-in-progress : true
3+ on :
4+ pull_request :
5+ paths :
6+ - ' public/**'
7+ - ' src/**'
8+ - ' config/**'
9+ - ' tests/**'
10+ - ' .php-cs-fixer.php'
11+ - ' rector.php'
12+ - ' composer.json'
13+ - ' yii'
14+ - ' yii.bat'
15+ - ' .github/workflows/cs.yml'
616
717permissions :
818 contents : read
919
10- on :
11- pull_request :
12- paths-ignore :
13- - ' docs/**'
14- - ' README.md'
15- - ' CHANGELOG.md'
16- - ' .gitignore'
17- - ' .gitattributes'
18- - ' psalm.xml'
20+ concurrency :
21+ group : ${{ github.workflow }}-${{ github.ref }}
22+ cancel-in-progress : true
1923
2024jobs :
2125 cs-fix :
Original file line number Diff line number Diff line change 1+ name : static analysis
2+
13on :
24 pull_request :
3- paths-ignore :
4- - ' docs/**'
5- - ' README.md'
6- - ' CHANGELOG.md'
7- - ' .gitignore'
8- - ' .gitattributes'
9- - ' phpunit.xml.dist'
10-
5+ paths : &paths
6+ - ' public/**'
7+ - ' src/**'
8+ - ' config/**'
9+ - ' psalm.xml'
10+ - ' composer.json'
11+ - ' yii'
12+ - ' yii.bat'
13+ - ' .github/workflows/static.yml'
1114 push :
1215 branches : ['master']
13- paths-ignore :
14- - ' docs/**'
15- - ' README.md'
16- - ' CHANGELOG.md'
17- - ' .gitignore'
18- - ' .gitattributes'
19- - ' phpunit.xml.dist'
16+ paths : *paths
2017
21- name : static analysis
18+ permissions :
19+ contents : read
2220
2321concurrency :
2422 group : ${{ github.workflow }}-${{ github.ref }}
2523 cancel-in-progress : true
2624
27- permissions :
28- contents : read
29-
3025jobs :
3126 psalm :
3227 name : PHP ${{ matrix.php }}-${{ matrix.os }}
4136 - " 8.2"
4237 - " 8.3"
4338 - " 8.4"
39+ - " 8.5"
4440
4541 steps :
4642 - name : Checkout
Original file line number Diff line number Diff line change 11name : GitHub Actions Security Analysis with zizmor 🌈
22
33on :
4- push :
5- branches :
6- - master
7- - main
8- paths :
9- - ' .github/**.yml'
10- - ' .github/**.yaml'
114 pull_request :
12- paths :
5+ paths : &paths
136 - ' .github/**.yml'
147 - ' .github/**.yaml'
8+ push :
9+ branches : ['master']
10+ paths : *paths
1511
1612permissions :
17- actions : read # Required by zizmor when reading workflow metadata through the API.
18- contents : read # Required to read workflow files.
13+ actions : read # Required by zizmor when reading workflow metadata through the API
14+ contents : read # Required to read workflow files
15+
16+ concurrency :
17+ group : ${{ github.workflow }}-${{ github.ref }}
18+ cancel-in-progress : true
1919
2020jobs :
2121 zizmor :
You can’t perform that action at this time.
0 commit comments