-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit 4949c82
Remove unnecessary recursive
For the sake of efficiency, GitHub Workflows should be configured to only be triggered when relevant files are modified.
This filtering is done via the `paths` mapping. "Globstar" patterns are supported in paths filters. This will cause the
filter to match the matching files in any path under the repository.
Previously, this was done for the `.npmrc` npm configuration file in various workflows. Although this is appropriate in
the "Check npm" workflow, which supports checking npm-based projects in subfolders of the repository, it is not
appropriate for the other workflows which do not have such support (and likely don't need it).
In order to improve the efficiency of the workflows, the globstars are removed from the `.npmrc` path filters in the
workflows where it is not appropriate..npmrc
coverage from workflow path filters1 parent 512c586 commit 4949c82
File tree
3 files changed
+6
-6
lines changed- .github/workflows
3 files changed
+6
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 | - | ||
11 | + | ||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
26 | - | ||
26 | + | ||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 | + | ||
10 | 11 |
| |
11 | - | ||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
114 | + | ||
114 | 115 |
| |
115 | - | ||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 | - | ||
9 | + | ||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 | - | ||
16 | + | ||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
|
0 commit comments