Skip to content

Commit f9955fd

Browse files
committed
Improve github action to avoid useless checks
1 parent 16e0c75 commit f9955fd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/php.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,20 @@ on:
44
branches:
55
- 2.x
66
- master
7+
paths:
8+
- '**.php'
9+
- 'composer.json'
10+
- 'composer.lock'
11+
- '.github/workflows/php.yml'
712
pull_request:
813
branches:
914
- 2.x
1015
- master
16+
paths:
17+
- '**.php'
18+
- 'composer.json'
19+
- 'composer.lock'
20+
- '.github/workflows/php.yml'
1121
jobs:
1222
php-linter:
1323
name: PHP Syntax check 7.4|8.1

0 commit comments

Comments
 (0)