You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix /run-skipped-ci to trigger all workflows on fresh PRs
Previously, when /run-skipped-ci was used on a fresh PR where no checks
had run yet, the workflow would:
1. Add the full-ci label
2. Report "All checks are already running - nothing to do!"
3. Not actually trigger any workflows
This was confusing because users expected the Pro tests to run
immediately, but they would only run on the next commit.
Now the workflow:
- Detects when there are no skipped checks (fresh PR scenario)
- Triggers ALL workflows in the workflowMap to ensure full coverage
- Updates the status message to "Triggered all workflows for full CI coverage"
- Still triggers only specific skipped workflows when they exist
This ensures that /run-skipped-ci always triggers the workflows
immediately, whether it's a fresh PR or one with existing skipped checks.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
status = '❌ **Failed to trigger or verify workflows**';
202
204
} else if (failed.length > 0) {
203
205
status = '⚠️ **Some workflows failed to trigger**';
204
206
} else if (notFound.length > 0) {
205
207
status = '⚠️ **Workflows triggered but not yet verified**';
208
+
} else if (uniqueWorkflows.size === 0) {
209
+
status = '✅ **Triggered all workflows for full CI coverage**';
206
210
} else {
207
211
status = '✅ **Successfully triggered skipped CI checks**';
208
212
}
@@ -234,13 +238,11 @@ jobs:
234
238
${skippedChecksList}
235
239
${verifiedList}${notFoundList}${failedList}
236
240
237
-
${labelAdded && verified.length > 0 ? `\n**Note:** Added the \`full-ci\` label to this PR. All future commits will run the full CI suite (including minimum dependency tests) until the label is removed.
241
+
${labelAdded && succeeded.length > 0 ? `\n**Note:** Added the \`full-ci\` label to this PR. All future commits will run the full CI suite (including minimum dependency tests) until the label is removed.
238
242
239
243
To disable full CI mode, use the \`/stop-run-skipped-ci\` command.
240
244
241
-
View progress in the [Actions tab](${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions).` : ''}
242
-
243
-
${labelAdded && notApplicable.length > 0 ? `\nAll CI checks are already running on this PR. Added the \`full-ci\` label - future commits will run the full CI suite.` : ''}`;
245
+
View progress in the [Actions tab](${context.serverUrl}/${context.repo.owner}/${context.repo.repo}/actions).` : ''}`;
0 commit comments