Commit 7dc29d8
committed
[CI] Add path-based triggers for niche workflows
Make expensive/niche workflows conditional on labels to reduce CI costs:
- docs.yml: Only builds docs on PRs when Documentation or tutorials/ label
is present. Always builds on push to main/nightly/release.
- benchmarks_pr.yml: Only runs benchmarks when Performance or
benchmarks/upload label is present. This is expensive (GPU, runs twice).
- test-linux-sota.yml: Only runs SOTA tests when sota-implementations/
label is present. Always runs on push to main/nightly/release.
Labels are auto-applied by the file-based labeler (auto-labeler.yml) when
relevant files change, so developers don't need to manually add them.
Core library tests (test-linux.yml) continue to run on all PRs since
components are interconnected (e.g., replay buffers affect collectors).
ghstack-source-id: 9a91e29
Pull-Request: #34031 parent a46c267 commit 7dc29d8
File tree
3 files changed
+35
-0
lines changed- .github/workflows
3 files changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
| |||
13 | 19 | | |
14 | 20 | | |
15 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
16 | 27 | | |
17 | 28 | | |
18 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
10 | 14 | | |
11 | 15 | | |
12 | 16 | | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
27 | 39 | | |
28 | 40 | | |
29 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
4 | 9 | | |
| 10 | + | |
5 | 11 | | |
6 | 12 | | |
7 | 13 | | |
| |||
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
27 | 39 | | |
28 | 40 | | |
29 | 41 | | |
| |||
0 commit comments