Skip to content

Commit a4fabc5

Browse files
author
nix
committed
run GH workflows only on changes in relevant files
1 parent 1bb77be commit a4fabc5

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.github/workflows/api-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ on:
33
push:
44
branches:
55
- main
6+
paths:
7+
- '.github/workflows/api-docs.yml'
8+
- 'src/**'
9+
- 'composer.json'
10+
- 'composer.lock'
11+
- 'phpdoc.dist.xml'
612

713
permissions:
814
contents: read

.github/workflows/quality-assurance.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@ on:
33
push:
44
branches:
55
- main
6+
paths:
7+
- '.github/workflows/quality-assurance.yml'
8+
- 'src/**'
9+
- 'tests/**'
10+
- 'composer.json'
11+
- 'composer.lock'
12+
- 'phpunit.dist.xml'
13+
- 'phpstan.dist.neon'
14+
- 'phpstan-tests.neon'
615

716
permissions:
817
contents: read

0 commit comments

Comments
 (0)