Skip to content

CI: Bump allow-list pin and quieten repeat summaries - #91

Merged
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:ci/harden-runner-allowlist-v0.16.1
Sep 3, 2026
Merged

CI: Bump allow-list pin and quieten repeat summaries#91
ModeSevenIndustrialSolutions merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:ci/harden-runner-allowlist-v0.16.1

Conversation

@ModeSevenIndustrialSolutions

Copy link
Copy Markdown
Contributor

CI: Bump allow-list pin and quieten repeat summaries

Two pieces of workflow housekeeping, applied identically across the
*-workflows estate.

1. Allow-list pin → v0.16.1

Repoints the shared lfreleng-actions/.github allow-list at
ec0736244fc776e326283c6af6840e30f316f63c (v0.16.1), up from v0.16.0.

Both forms that carry the reference move together:

FormWhere
allow_list.txt@<sha>the harden_runner_allowlist input default
config: '@<sha>'workflows that take no such input (release-drafter.yaml)

2. One allow-list summary per workflow

Every job loads the allow-list, and each invocation wrote the same static
block to the job summary — once per job rather than once per run,
crowding out the build, test and audit output a reader came for.

The action already exposes allow_list_summary for exactly this, so this
is configuration rather than a change to it. Suppressed everywhere except
the first invocation in each file.

invocations=31 emitting=4 (one per workflow file)

The largest reduction in the estate: build-test-release.yaml goes from
13 blocks to 1, merge.yaml from 10 to 1, and build-test.yaml from 7
to 1.

Scope note: once per workflow, not once per run

These are workflow_call reusable workflows, so they cannot see beyond
themselves. A caller invoking several still receives one block from each.
That is as far as a reusable workflow can enforce on its own behalf — a
large reduction on one per job, but not literally one per run, so worth
stating rather than implying.

Validation

actionlint clean on every workflow; zizmor reports no findings; all
prek hooks pass; aislop ci --changes --base upstream/main → 0 errors,
0 warnings. Verified that no stale allow-list SHA remains and that
exactly one invocation per file still emits.

Two unrelated pieces of workflow housekeeping.
The harden-runner allow-list now points at v0.16.1 of the shared
lfreleng-actions/.github list. Both forms that carry the reference
move together: the harden_runner_allowlist input default and the
literal config pin in the workflows that do not take that input.
Every job also loaded the allow-list and wrote the same static block
to the job summary, so a caller of one of these workflows saw it once
per job rather than once per run. The action already exposes
allow_list_summary for this, so the block is suppressed everywhere
except the first invocation in each file: what a job hardened against
is worth stating, but only the first time anyone reads it.
Reusable workflows cannot see beyond themselves, so this is once per
workflow rather than once per run. A caller invoking several still
gets one block from each, which is a large reduction on one per job
and as far as a workflow can enforce on its own behalf.
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions requested review from a team and a balanced review from CopilotSeptember 3, 2026 13:54
@github-actionsgithub-actionsBot added the CI CI and tests updates label Sep 3, 2026

CopilotAI 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

The pin is valid, the action supports the configured input, and each workflow retains exactly one emitting invocation.

Pull request overview

Updates CI workflow allow-list configuration and reduces repetitive job summaries.

Changes:

  • Pins the shared allow-list to verified v0.16.1.
  • Suppresses duplicate allow-list summaries after each workflow’s first invocation.
File summaries
FileDescription
.github/workflows/release-drafter.yamlUpdates the allow-list pin.
.github/workflows/merge.yamlUpdates the pin and suppresses nine duplicate summaries.
.github/workflows/build-test.yamlUpdates the pin and suppresses six duplicate summaries.
.github/workflows/build-test-release.yamlUpdates the pin and suppresses twelve duplicate summaries.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@zxiirozxiiro 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.

🤖 Auto-approved by agent: code-reviewed low risk. Allow-list pin v0.16.0→v0.16.1 plus allow_list_summary:false on harden-runner-block; no permission/secret/trigger changes.

@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions merged commit 81ccc32 into lfreleng-actions:mainSep 3, 2026
27 checks passed
@ModeSevenIndustrialSolutions
ModeSevenIndustrialSolutions deleted the ci/harden-runner-allowlist-v0.16.1 branch September 3, 2026 16:54
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CICI and tests updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ModeSevenIndustrialSolutions@zxiiro