Skip to content

Fix: Unpin the self-test supplemental allow-list - #190

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-189
Nov 2, 2026
Merged

ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
lfreleng-bot-forks:code-monkey/issue-189

Conversation

@lf-releng-code-monkey-bot

Copy link
Copy Markdown
Contributor

Closes #189

Authored by an AI agent; human review required
Command Exit
prek run --files .github/workflows/testing.yaml 0
prek run --all-files 0
bash tests/test-harden-runner-inputs.sh 0
zizmor --persona auditor .github/workflows/testing.yaml 0
aislop scan --changes --json 0
git commit -s (prek pre-commit and commit-msg hooks) 0

The github-code-monkey-bot workflow opened this pull request.
Nobody has merged it; a maintainer must review it first.
Review findings on this pull request are answered by a later revision round of this workflow, up to ten rounds; a maintainer must act on any finding that remains after that, and reviews every round before merge.


What changed

Restores harden_runner_supplemental_allowlist: 'lfreleng-actions//' in the self-test job in .github/workflows/testing.yaml. No @​ref, no version comment. Nothing else in the file changes.

Why

The weekly allow-list sweep in #188 pinned this reference to @​6d4a65c… # v0.19.0. The job sets harden_runner_supplemental_unpinned: true (still on the next line, unchanged) so that it exercises harden-runner-block-action's same-organisation unpinned supplemental path. With the pin in place, the job no longer tested that path. The pin also made the line 116 characters long, which fails yamllint line-length on main and so fails pre-commit.ci on every open pull request.

As the issue asks, this adds no yamllint disable comment and no gha-workflow-linter directive. Stopping the sweep from re-pinning the reference is being handled in lfreleng-actions/gha-workflow-linter#438.

Validation

  • prek run --files .github/workflows/testing.yaml: exit 0. yamllint, actionlint, zizmor, the GitHub Actions Workflow Linter and the harden-runner-inputs drift check all passed.
  • prek run --all-files: exit 0, and no files were modified.
  • bash tests/test-harden-runner-inputs.sh: exit 0.
  • zizmor --persona auditor .github/workflows/testing.yaml: no findings.
  • aislop scan --changes --json: empty diagnostics array.
  • The commit hooks passed, gitlint included.

For reviewers

The weekly allow-list sweep (lfreleng-actions#188) pinned the self-test's
supplemental allow-list reference to a commit SHA. That job sets
harden_runner_supplemental_unpinned: true precisely to exercise
the same-organisation unpinned supplemental path, so the pin
stopped testing it. It also pushed the line to 116 characters,
failing yamllint line-length on main and every open pull request.

Restore the bare 'lfreleng-actions//' reference. The sweep's
linter is being taught to honour the unpinned flag separately in
lfreleng-actions/gha-workflow-linter#438.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: lf-releng-code-monkey-bot[bot] <332050256+lf-releng-code-monkey-bot[bot]@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block the change restoring the unpinned supplemental allow-list.

No open issues 🎉

What changed in this PR

Restores the intentionally unpinned supplemental allow-list in the workflow self-test, addressing #189 and reversing the unintended pin introduced by #188.

Changes:

  • Removes the commit pin and version comment, restoring 'lfreleng-actions//'.
  • Preserves harden_runner_supplemental_unpinned: true to exercise the same-organisation unpinned path while resolving the reported line-length violation.
File Description
.github/​workflows/​testing.yaml Restores the unpinned supplemental allow-list reference without adding lint suppressions or re-pin blockers.

Review effort: Balanced

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit dfc8bc2 into lfreleng-actions:main Nov 2, 2026
12 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the code-monkey/issue-189 branch November 2, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: Unpin the self-test supplemental allow-list

2 participants