Skip to content

Fix: resolve zizmor auditor persona findings - #129

Merged
tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:fix/zizmor-auditor-findings
Jul 7, 2026
Merged

tykeal merged 1 commit into
lfreleng-actions:mainfrom
modeseven-lfreleng-actions:fix/zizmor-auditor-findings

Conversation

@ModeSevenIndustrialSolutions

@ModeSevenIndustrialSolutions ModeSevenIndustrialSolutions commented Jul 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Resolves the zizmor auditor persona findings that fail the
organisation's required zizmor gate (min-severity: low) and block
Dependabot pull requests from merging.

Method

  • Boilerplate workflows (tag-push, release-drafter,
    clear-action-cache, openssf-scorecard) that carried findings were
    replaced byte-for-byte with the canonical versions from
    actions-template.
  • Repository-specific workflows (e.g. testing.yaml) were adjusted
    in place to match the canonical patterns:
    • added a workflow-level concurrency group to match the canonical
      actions-template (cancels superseded in-progress runs)
    • added persist-credentials: false to checkout steps (resolves the
      zizmor artipacked finding)

Verified with zizmor --persona auditor --min-severity low (clean) with
no action pin downgrades.

Resolve the zizmor auditor-persona findings that fail the organisation's
required zizmor gate and block Dependabot pull requests from merging.

- Boilerplate workflows (tag-push, release-drafter, clear-action-cache,
  openssf-scorecard) are replaced with the canonical versions from
  actions-template where they carried findings.
- Repository-specific workflows (for example testing.yaml) are adjusted
  in place to add a workflow-level concurrency group (concurrency-limits)
  and persist-credentials: false on checkout steps (artipacked), matching
  the actions-template canonical patterns.

Verified with zizmor --persona auditor --min-severity low (clean) with no
action pin downgrades.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>

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.

Pull request overview

This PR updates GitHub Actions workflows to satisfy zizmor auditor persona findings (min severity: low), primarily by adopting hardened/standardized patterns (concurrency control, safer checkout configuration, and hardened-runner egress allow-listing) so Dependabot PRs are no longer blocked by the zizmor gate.

Changes:

  • Add workflow-level concurrency controls to serialize/cancel runs in key workflows.
  • Set persist-credentials: false on actions/checkout usages where applicable.
  • Switch harden-runner usage to egress-policy: block with an allow-list loaded via lfreleng-actions/harden-runner-block-action, and update release-drafter pin.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/testing.yaml Adds workflow concurrency and disables checkout credential persistence.
.github/workflows/tag-push.yaml Adds concurrency and moves runner hardening to block-mode egress using an org allow-list loader.
.github/workflows/release-drafter.yaml Applies the same block-mode hardening pattern and updates the Release Drafter action pin.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/tag-push.yaml Resolved
Comment thread .github/workflows/tag-push.yaml Resolved
Comment thread .github/workflows/release-drafter.yaml Resolved

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.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@tykeal tykeal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Dependamerge
Approved this pull request ✅

@tykeal
tykeal merged commit 0e44d64 into lfreleng-actions:main Jul 7, 2026
9 checks passed
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.

3 participants