Skip to content

security: workflow hardening (CODEOWNERS + lint) - #24

Open
J0ET0M wants to merge 1 commit into
masterfrom
security/workflow-hardening
Open

security: workflow hardening (CODEOWNERS + lint)#24
J0ET0M wants to merge 1 commit into
masterfrom
security/workflow-hardening

Conversation

@J0ET0M

@J0ET0M J0ET0M commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

What

Adds two files as part of the post-2026-07-13 workflow-hardening rollout:

  • .github/CODEOWNERS — mandates workflow-security review on .github/workflows/, .github/actions/, .github/CODEOWNERS, and .github/dependabot.yml.
  • .github/workflows/lint-workflows.yml — runs actionlint + zizmor on any PR that touches workflow files.

Why

Preventive actions #2 and #5 from the 2026-07-13 post-mortem. Together they gate malicious workflow-file additions behind competent security review and catch a large class of insecure workflow patterns automatically.

Follow-up

Preventive action #3 — adding a least-privilege permissions: block to every existing workflow file in this repo — is a per-workflow manual task. See the repo maintainer guide. Once merged, actionlint/zizmor will flag workflows missing that block.

Branch protection

Branch protection on the default branch will be updated separately (via rollout.sh protect) to require Code Owner review. Nothing to do in this PR for that.


🤖 Rolled out by incidents/rollout/rollout.sh.

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.

1 participant