Commit 4db050e
Add /run-skipped-tests as alias for /run-skipped-ci (#XXXX) (#2068)
## Summary
Adds `/run-skipped-tests` as a shorter, more intuitive alias for the
`/run-skipped-ci` GitHub PR comment command.
## Problem
When users tried `/run-skipped-tests` in PR comments, nothing happened -
no workflow triggered and no help message appeared. This was confusing
because:
1. The command seemed like it should work (it's more intuitive than
`/run-skipped-ci`)
2. The help detection workflow should have caught it and displayed
available commands
3. Users were left wondering if the command was broken or if they did
something wrong
## Root Cause
The `/run-skipped-tests` command wasn't recognized as either valid or
invalid, so it fell into a gap where no workflow would trigger.
## Changes
1. **Updated `run-skipped-ci.yml`**: Added `/run-skipped-tests` as an
alias that triggers the same workflow
2. **Updated `detect-invalid-ci-commands.yml`**:
- Added `/run-skipped-tests` to the valid commands list
- Added it to the exclusion filter to prevent false "invalid command"
detection
- Updated help message to document the alias
## Testing
Verified the logic works correctly:
- `/run-skipped-tests` now triggers the run-skipped-ci workflow ✅
- `/run-skipped-tests` does NOT trigger the help message (it's valid) ✅
- `/run-skipped-ci` still works as before ✅
- Invalid commands like `/run-foo` still trigger the help message ✅
## Impact
- Users can now use the more intuitive `/run-skipped-tests` command
- The existing `/run-skipped-ci` command continues to work
- Help messages now document both options
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added `/run-skipped-tests` command alias as an alternative way to
trigger the skipped CI workflow.
* **Documentation**
* Updated help text and examples to document both `/run-skipped-ci` and
`/run-skipped-tests` command options.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Claude <[email protected]>1 parent 74cd58b commit 4db050e
File tree
4 files changed
+22
-12
lines changed- .github
- workflows
4 files changed
+22
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
36 | | - | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | | - | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
85 | | - | |
| 87 | + | |
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
| |||
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
112 | | - | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | | - | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
78 | 79 | | |
79 | 80 | | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| |||
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
117 | | - | |
| 119 | + | |
| 120 | + | |
118 | 121 | | |
119 | 122 | | |
120 | | - | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
| 435 | + | |
| 436 | + | |
435 | 437 | | |
436 | 438 | | |
437 | 439 | | |
| |||
0 commit comments