Repository navigation
feat(pr-route): add reusable pr-route workflow - #110
Merged
Merged
Conversation
One implementation of the PR test-routing rule: rules from the base commit's .github/pr-route.json, fail closed. Closes #106 Refs BehindTheMusicTree/python-project-standards#33 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…d submodules Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the reusable
pr-route.yml: one implementation of the PR test-routing rule (BehindTheMusicTree/github-config#85), replacing the five per-repository copies as they migrate.Issues
Closes #106
Refs BehindTheMusicTree/python-project-standards#33
Changes
.github/workflows/pr-route.yml: outputsapplicable; rules from.github/pr-route.json(inputrules-file) read at the PR base commit; inline stdlib classifier; fail closed.build_inputsreplaces genre-kit'sBUILD_INPUTSand pipelines' package-readme rule. Behaviour change for pipelines: modifying a package README now skips; deleting or renaming it away still runs everything.skip_files; the rules file and the calling workflow never are..github/tests/pr-route.shand aTest actionsjob; README section.Test plan
bash .github/tests/pr-route.sh: cases of the api-kit, genre-kit and pipelines routers, plus fail-closed cases.actionlint,shellcheck .github/tests/pr-route.sh: clean.--no-renames, two-dot diff, no--ignore-submodules, nonormpath) each fail the suite.workflow_callrun; the first consumer migration exercises it.Screenshots
N/A
Risk
change, standard depth: new reusable workflow with no caller yet. A wrongfalsewould skip tests in future callers. No finding awaiting decision.v6.8.0is still unpublished (lost push event, #107): this PR's release waits for that recovery.How to revert
Revert the merge; no caller depends on it yet.
Deployment notes
N/A
Post-deploy verification
First consumer (BehindTheMusicTree/genre-tree-view#458 or a phase D migration): a docs-only PR skips the routed jobs with
Tests successgreen, a code PR runs them.🤖 Generated with Claude Code