Skip to content

feat(lint-gha): add zizmor lint workflow for public repositories - #9651

Merged
louib merged 1 commit into
masterfrom
INF-3420-public-repo-lint-workflow
Sep 4, 2026
Merged

feat(lint-gha): add zizmor lint workflow for public repositories#9651
louib merged 1 commit into
masterfrom
INF-3420-public-repo-lint-workflow

Conversation

@louib

@louib louib commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

What

  • Add .github/workflows/lint-gha.yaml: the ruleset-required zizmor workflow that pairs with the .github/zizmor.yml policy merged in ci: add zizmor action-pinning policy for public repositories #9645. It checks out the repository a targeted pull request was opened against, fetches the policy from this repo's master, and runs zizmor with online audits disabled and plain annotations.
  • The zizmor action is pinned to the same commit SHA used by the org-wide lint workflow.

Why

The public-repository action-pinning policy needs an enforcement vehicle: an organization ruleset can only require workflows that live in a public repository, so the workflow lives here next to the policy. This completes the pieces needed to enforce third-party action SHA-pinning on all public repositories.

Ticket: INF-3420

@linear-code

linear-code Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

INF-3420

@ralph-bitgo
ralph-bitgo Bot force-pushed the INF-3420-public-repo-lint-workflow branch 3 times, most recently from a3cd1ee to d3ad801 Compare September 4, 2026 00:14
@louib
louib force-pushed the INF-3420-public-repo-lint-workflow branch 2 times, most recently from 3b7b06c to 79dadbd Compare September 4, 2026 00:31
Add the ruleset-required zizmor workflow that enforces the
public-repository action-pinning policy: it checks out the repository
a targeted pull request was opened against and runs zizmor with the
policy inlined in the workflow, mirroring the org-wide lint workflow.
The standalone .github/zizmor.yml is removed now that the policy
lives in the workflow.

Ticket: INF-3420
Session-Id: 217d73a9-ac3c-466a-9cd9-112324f86e76
Task-Id: bfb9a42e-a4b1-49e6-a6e5-6f8d9d3d3051
@louib
louib force-pushed the INF-3420-public-repo-lint-workflow branch from 79dadbd to 192920e Compare September 4, 2026 01:02
@louib
louib marked this pull request as ready for review September 4, 2026 01:13
@louib
louib requested review from a team as code owners September 4, 2026 01:13
@louib
louib merged commit 95d9a1f into master Sep 4, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants