Skip to content

Commit 36c4865

Browse files
committed
Add paths matching to workflows
1 parent ab2eb45 commit 36c4865

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.github/workflows/test-coding-standards.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ on:
44
schedule:
55
- cron: '0 0 * * *'
66
pull_request:
7+
paths:
8+
- .github/workflows/test-coding-standards.yml
9+
- '**.php'
710
push:
11+
paths:
12+
- .github/workflows/test-coding-standards.yml
13+
- '**.php'
814

915
jobs:
1016
coding-standards:

.github/workflows/test-phpstan.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ on:
44
schedule:
55
- cron: '0 0 * * *'
66
pull_request:
7+
paths:
8+
- .github/workflows/test-phpstan.yml
9+
- '**.php'
10+
- extension.neon
11+
- phpstan.neon.dist
712
push:
13+
paths:
14+
- .github/workflows/test-phpstan.yml
15+
- '**.php'
16+
- extension.neon
17+
- phpstan.neon.dist
818

919
jobs:
1020
static-analyses:

.github/workflows/test-phpunit.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ on:
44
schedule:
55
- cron: '0 0 * * *'
66
pull_request:
7+
paths:
8+
- .github/workflows/test-phpunit.yml
9+
- '**.php'
10+
- phpunit.dist.xml
711
push:
12+
paths:
13+
- .github/workflows/test-phpunit.yml
14+
- '**.php'
15+
- phpunit.dist.xml
816

917
jobs:
1018
extension-tests:

0 commit comments

Comments
 (0)