Skip to content

Commit 651dd14

Browse files
committed
Add GitHub Action (GHA) files to their own path triggers.
1 parent 72e32fb commit 651dd14

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-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
- 'src/'
@@ -22,6 +23,7 @@ on:
2223
paths:
2324
- '.config/hadolint.yml'
2425
- '.dockerignore'
26+
- '.github/workflows/dockerfile.yml'
2527
- 'Dockerfile'
2628
# Docker project specific, Dockerfile "COPY" and "ADD" entries.
2729
- 'src/'

.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.

.github/workflows/shell.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ on:
1010
paths:
1111
- '**.bash'
1212
- '**.sh'
13+
- '.github/workflows/shell.yml'
1314
types: [ opened, reopened, synchronize ]
1415
# This event occurs when there is a push to the repository.
1516
push:
1617
paths:
1718
- '**.bash'
1819
- '**.sh'
20+
- '.github/workflows/shell.yml'
1921
# Allow manually triggering the workflow.
2022
workflow_dispatch:
2123

0 commit comments

Comments
 (0)