Skip to content

Commit 7df98bf

Browse files
committed
chore: updates test workflow conditions
1 parent c5d7ee1 commit 7df98bf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/php-test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,29 @@ on:
44
push:
55
branches:
66
- trunk
7+
- 'feature/**'
8+
- 'release/**'
9+
# Only run if PHP-related files changed.
10+
paths:
11+
- '.github/workflows/php-lint.yml'
12+
- '**.php'
13+
- 'phpcs.xml.dist'
14+
- 'phpstan.neon.dist'
15+
- 'composer.json'
16+
- 'composer.lock'
717
pull_request:
18+
# Only run if PHP-related files changed.
19+
paths:
20+
- '.github/workflows/php-lint.yml'
21+
- '**.php'
22+
- 'phpcs.xml.dist'
23+
- 'phpstan.neon.dist'
24+
- 'composer.json'
25+
- 'composer.lock'
26+
types:
27+
- opened
28+
- reopened
29+
- synchronize
830

931
jobs:
1032
test:

0 commit comments

Comments
 (0)