Commit 43ef519
Skip Rust build in pr-check when no tool YAML files are changed
When a PR only touches ci/** files (not data/tools/), the PR Check
workflow still triggers but has no tool files to check. Previously this
caused the pr-comment workflow to fail with "Artifact not found" because
the artifact upload could produce an empty/missing artifact.
Fix: emit a has_files output from the changed-files step and short-circuit
immediately when it is false — writing pr_number.txt and result.txt
directly so the artifact always exists. All Rust build steps are skipped
when there is nothing to check.1 parent 05b3471 commit 43ef519
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
45 | 54 | | |
46 | 55 | | |
| 56 | + | |
47 | 57 | | |
48 | 58 | | |
49 | 59 | | |
| 60 | + | |
50 | 61 | | |
51 | 62 | | |
52 | 63 | | |
| |||
58 | 69 | | |
59 | 70 | | |
60 | 71 | | |
| 72 | + | |
61 | 73 | | |
62 | 74 | | |
63 | 75 | | |
| 76 | + | |
64 | 77 | | |
65 | 78 | | |
66 | 79 | | |
| |||
0 commit comments