Skip to content

docs(pr-review): handle missing CI jobs when workflow skipped by paths-ignore#1481

Merged
kaizhou-lab merged 1 commit intomainfrom
zynx/fix/pr-review-paths-ignore-handling
Mar 19, 2026
Merged

docs(pr-review): handle missing CI jobs when workflow skipped by paths-ignore#1481
kaizhou-lab merged 1 commit intomainfrom
zynx/fix/pr-review-paths-ignore-handling

Conversation

@piorpua
Copy link
Copy Markdown
Contributor

@piorpua piorpua commented Mar 19, 2026

Summary

  • Fix CI status check logic in pr-review skill to handle the case where pr-checks.yml is entirely skipped due to paths-ignore
  • Previously, only an empty statusCheckRollup was treated as "CI not triggered"; now also handles the case where the rollup is non-empty (e.g. CodeQL checks ran) but all required jobs are absent

Changes

  • .claude/skills/pr-review/SKILL.md: expand the special-case condition in Step 2 (Check CI Status) to skip the gate when all required jobs are missing from the status check list

Test Plan

  • Run /pr-review on a docs-only PR (e.g. only docs/** or *.md changes) — should skip CI gate and proceed directly to review
  • Run /pr-review on a normal code PR — CI gate should behave as before

@kaizhou-lab kaizhou-lab merged commit f50bd7b into main Mar 19, 2026
4 checks passed
@piorpua piorpua deleted the zynx/fix/pr-review-paths-ignore-handling branch March 19, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants