Repository navigation
fix: put scripts/apply-triage-settings.sh back in the risk-path list at L1 - #224
Merged
Merged
Conversation
…at L1 The squash merge of #223 rewrote .github/risk-paths.json to schema version 2 and dropped the entry that #221 added, so the script that applies the required-checks ruleset and the level labels fell to the default L3. The entry comes back at L1 (rulesets and settings, risk-paths spec rule H). A test now names each settings script at L1, and a corrections line records the lesson.
Contributor
Author
|
Cross-review: Ready, blocking: none.
|
bketelsen
approved these changes
Nov 9, 2026
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
The squash merge of #223 (levels L1 to L4, ADR-0078) rewrote
.github/risk-paths.jsonto schema version 2 and dropped the entry forscripts/apply-triage-settings.shthat #221 added (git show bc38abd -- .github/risk-paths.json). The script applies the required-checks ruleset and the level labels (ADR-0076), so onmainit fell to the default level L3 and a change to it would get norisk:high..github/risk-paths.json: the entry comes back atL1(rulesets and settings, grading rule H of the risk-paths spec), with thewhytext of feat: require status checks on every default branch (ADR-0076) #221.test/risk-paths.test.mjs"core's list puts each administrative script (rulesets, settings, cross-repository writes) at L1" namesapply-repo-settings.sh,apply-triage-settings.sh,rollout-merge-queue.shandsync-skills.sh, and requires L1 from their own glob. Without the entry it fails:scripts/apply-triage-settings.sh is L3 (default)..memory/corrections.jsonl: 1 line (two PRs that rewrite the list can merge without a conflict and still drop an entry).Risk tier
Risk tier: 3 — highest. The PR touches
.github/risk-paths.json(L2 by the org floor and its own entry): it adds 1 entry at L1 and changes no other entry, so no path gets a looser level. The test and the corrections line are not risk paths.Verification
npm run verify: risk-paths "15 entries, workflow in sync", 639 tests, 0 failures.github/risk-paths.jsonfrommainand the new test,node --test --test-name-pattern="each script that applies" test/risk-paths.test.mjsfails withscripts/apply-triage-settings.sh is L3 (default)