Repository navigation
Chore: Remove the allow-list drift check - #202
Merged
ModeSevenIndustrialSolutions merged 1 commit intoNov 6, 2026
Conversation
Remove the harden-runner-inputs pre-commit hook and the script it ran, tests/test-harden-runner-inputs.sh, with the documentation sentences saying a local test enforces the harden_runner_* inputs. The check is being re-implemented once, centrally, in lfreleng-actions/.github as a single job auditing the whole estate. The per-repository copies had drifted to four versions across ten repositories, and the exact-pin copies failed pre-commit.ci on every correct harden-runner-block-action pin bump. The five harden_runner_* inputs and their documentation stay. Made by hand: Code Monkey may not edit .pre-commit-config.yaml, and removing the script alone would leave the hook pointing at a missing file. Closes lfreleng-actions#200 Co-authored-by: Claude <[email protected]> Signed-off-by: Matthew Watkins <[email protected]>
ModeSevenIndustrialSolutions
requested review from
a team
and
a balanced review from Copilot
November 6, 2026 13:58
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the removal of the repository-local drift check ahead of its replacement with a centralized audit.
No open issues 🎉
What changed in this PR
Removes the repository-local harden-runner allow-list drift check as requested in #200, ahead of its replacement with a centralized audit in lfreleng-actions/.github.
Changes:
- Deletes the drift-check script and its pre-commit hook.
- Removes the documentation claim that the script enforces input consistency.
- Leaves workflow inputs, their documentation, and all other hooks unchanged.
| File | Description |
|---|---|
tests/test-harden-runner-inputs.sh |
Deletes the local drift checker and its self-tests. |
docs/BRIEF.md |
Removes the enforcement claim while retaining the input contract description. |
.pre-commit-config.yaml |
Removes the drift-check hook block and its explanatory comment. |
Review effort: Balanced
vvalderrv
approved these changes
Nov 6, 2026
ModeSevenIndustrialSolutions
merged commit Nov 6, 2026
b9d7b83
into
lfreleng-actions:main
16 checks passed
ModeSevenIndustrialSolutions
deleted the
chore/remove-allow-list-drift-check
branch
November 6, 2026 19:08
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.
Closes #200
Removes the per-repository harden-runner allow-list drift check: the
harden-runner-inputspre-commit hook (its- repo: localblock and comment), the script it ran (tests/test-harden-runner-inputs.sh), and the documentation sentences saying a local test enforces theharden_runner_*inputs. Every other hook is untouched, and the inputs and their documentation stay.The check is being re-implemented once in
lfreleng-actions/.github, as a single job auditing the whole estate. The per-repository copies had drifted to four versions across ten repositories, and the exact-pin copies failedpre-commit.cion every correctharden-runner-block-actionpin bump. This also clears that failure from the open action-bump PR in this repository.Made by hand: Code Monkey declined the issue because it may not edit
.pre-commit-config.yaml, and removing the script alone would leave the hook pointing at a missing file.Validation:
prek run --all-filesandaislop ci --staged(no findings);git grepfinds no remaining reference to the hook, the script or "allow-list input drift".