Skip to content

Tighten workflow-level permissions#74

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

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

Conversation

@wagoodman
Copy link
Copy Markdown
Contributor

Set top-level permissions: {} in all three workflow files so no permissions are granted at the workflow level by default. Per-job permissions that are actually needed are pushed down to the job level.

Changes:

  • release.yaml: top-level permissions: contents: readpermissions: {} (release job already had contents: write at job level)
  • validate-github-actions.yaml: top-level permissions: contents: readpermissions: {} (zizmor job already had job-level permissions)
  • validations.yaml: top-level permissions: contents: readpermissions: {}; add contents: read to each job that needs it

Notes:

  • No behavior change; jobs retain the permissions they need, just scoped more tightly

Set top-level `permissions: {}` in all three workflow files and push
`contents: read` down to the job level where it is actually needed.

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman added the changelog-ignore do not add a entry for this when generating the changelog label May 8, 2026
@wagoodman wagoodman merged commit ff81f78 into main May 8, 2026
8 checks passed
@wagoodman wagoodman deleted the remediate-audit branch May 8, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-ignore do not add a entry for this when generating the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant