Skip to content

Commit dfd3ee1

Browse files
committed
Fixed paths not to run unless its a plugin not plugins/composer-packages.json is modified as this is not a plugin.
1 parent 6b97796 commit dfd3ee1

6 files changed

Lines changed: 14 additions & 11 deletions

File tree

.github/workflows/code-quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ on:
1212
branches:
1313
- main
1414
paths:
15-
- 'plugins/**.php'
15+
- 'plugins/*/*.php'
1616
pull_request:
1717
paths:
18-
- 'plugins/**.php'
18+
- 'plugins/*/*.php'
1919

2020
jobs:
2121
detect-plugins:

.github/workflows/codeception.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ on:
1212
branches:
1313
- main
1414
paths:
15-
- 'plugins/**.php'
15+
- 'plugins/*/*.php'
1616
pull_request:
1717
paths:
18-
- 'plugins/**.php'
18+
- 'plugins/*/*.php'
1919

2020
# Cancel previous workflow run groups that have not completed.
2121
concurrency:

.github/workflows/create-release-branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
branches:
99
- main
1010
paths:
11-
- "plugins/**"
11+
- "plugins/*/*"
1212

1313
permissions:
1414
contents: write # Allow actions to read and write repository contents

.github/workflows/e2e-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@ on:
2121
branches:
2222
- main
2323
paths:
24-
- "plugins/**"
24+
- 'plugins/**.php'
25+
- 'plugins/**.js'
26+
- 'plugins/**.css'
27+
- 'plugins/**.json'
2528

2629
jobs:
2730
detect-plugin:

.github/workflows/plugin-artifact-for-pr.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Plugin Artifact for PR
33
on:
44
pull_request:
55
paths:
6-
- 'plugins/**.php'
7-
- 'plugins/**.js'
8-
- 'plugins/**.css'
9-
- 'plugins/**.json'
6+
- 'plugins/*/*.php'
7+
- 'plugins/*/*.js'
8+
- 'plugins/*/*.css'
9+
- 'plugins/*/*.json'
1010

1111
jobs:
1212
create-plugin-artifact:

.github/workflows/pre-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
branches:
1111
- main
1212
paths:
13-
- "plugins/**"
13+
- "plugins/*/*"
1414

1515
permissions:
1616
contents: write

0 commit comments

Comments
 (0)