Skip to content

fix(classifier): detect failed reusable workflow sub-job checks - #29

Merged
DanielArndt merged 1 commit into
mainfrom
fix/reusable-workflow-failed-checks
Nov 19, 2026
Merged

DanielArndt merged 1 commit into
mainfrom
fix/reusable-workflow-failed-checks

Conversation

@DanielArndt

Copy link
Copy Markdown
Owner

Summary

  • Match nested reusable-workflow check runs (e.g. CI / Integration Tests / <job>) against parent required status check contexts (e.g. CI / Integration Tests) in hasFailingRequiredChecks.
  • Keep areRequiredChecksPassing strict on exact matches so missing exact contexts do not falsely classify a PR as Ready to Merge.

Testing

  • Added classifier unit tests in tests/testClassifier.js for failing reusable-workflow sub-jobs (open PRs and drafts), passing sub-jobs without exact required context matches, and prefix collisions without /.
  • Verified make test and make lint pass.

@DanielArndt
DanielArndt enabled auto-merge (squash) November 19, 2026 19:19
@DanielArndt
DanielArndt merged commit 8c4e097 into main Nov 19, 2026
7 checks passed
@DanielArndt
DanielArndt deleted the fix/reusable-workflow-failed-checks branch November 19, 2026 19:20
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.

1 participant