Skip to content

Commit d7b60a5

Browse files
committed
Add GitHub Action (GHA) files to their own path triggers.
1 parent f94bff1 commit d7b60a5

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

.github/workflows/dockerfile.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
paths:
1010
- '.config/hadolint.yml'
1111
- '.dockerignore'
12+
- '.github/workflows/dockerfile.yml'
1213
- 'Dockerfile'
1314
# Docker project specific, Dockerfile "COPY" and "ADD" entries.
1415
- 'composer.json'
@@ -20,6 +21,7 @@ on:
2021
paths:
2122
- '.config/hadolint.yml'
2223
- '.dockerignore'
24+
- '.github/workflows/dockerfile.yml'
2325
- 'Dockerfile'
2426
# Docker project specific, Dockerfile "COPY" and "ADD" entries.
2527
- 'composer.json'

.github/workflows/json.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ on:
88
branches: [ main ]
99
paths:
1010
- '**.json'
11+
- '.github/workflows/json.yml'
1112
types: [ opened, reopened, synchronize ]
1213
# This event occurs when there is a push to the repository.
1314
push:
1415
paths:
1516
- '**.json'
17+
- '.github/workflows/json.yml'
1618
# Allow manually triggering the workflow.
1719
workflow_dispatch:
1820

.github/workflows/markdown.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ on:
88
branches: [ main ]
99
paths:
1010
- '**.md'
11+
- '.github/workflows/markdown.yml'
1112
types: [ opened, reopened, synchronize ]
1213
# This event occurs when there is a push to the repository.
1314
push:
1415
paths:
1516
- '**.md'
17+
- '.github/workflows/markdown.yml'
1618
# Allow manually triggering the workflow.
1719
workflow_dispatch:
1820

.github/workflows/php.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- '**.php'
1010
- '.config/phpcs.xml.dist'
1111
- '.config/phpunit.xml.dist'
12+
- '.github/workflows/php.yml'
1213
- 'composer.json'
1314
- 'composer.lock'
1415
branches: [ main ]
@@ -19,6 +20,7 @@ on:
1920
- '**.php'
2021
- '.config/phpcs.xml.dist'
2122
- '.config/phpunit.xml.dist'
23+
- '.github/workflows/php.yml'
2224
- 'composer.json'
2325
- 'composer.lock'
2426
# Allow manually triggering the workflow.

0 commit comments

Comments
 (0)