Skip to content

Tighten workflow-level permissions per audit#168

Merged
wagoodman merged 1 commit into
mainfrom
remediate-audit
May 8, 2026
Merged

Tighten workflow-level permissions per audit#168
wagoodman merged 1 commit into
mainfrom
remediate-audit

Conversation

@wagoodman
Copy link
Copy Markdown
Contributor

@wagoodman wagoodman commented May 8, 2026

Sets top-level permissions: {} across the three workflow files that had permissions: contents: read at the workflow level. The contents permission is pushed down to the job level in validations.yaml where the checkout action needs it; release.yaml and validate-github-actions.yaml already had job-level permissions covering what each job needs.

Changes:

  • release.yaml: workflow-level permissions: contents: read → permissions: {}
  • validate-github-actions.yaml: same (zizmor job already had its own job-level perms)
  • validations.yaml: same; add contents: read to Static-Analysis and Unit-Test jobs

Set top-level `permissions: {}` in release.yaml, validate-github-actions.yaml,
and validations.yaml. Push `contents: read` down to the job level in validations.yaml
where the checkout action requires it.

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman merged commit 987b29a into main May 8, 2026
8 checks passed
@wagoodman wagoodman deleted the remediate-audit branch May 8, 2026 19:51
@wagoodman wagoodman changed the title tighten workflow-level permissions per audit Tighten workflow-level permissions per audit May 8, 2026
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