Skip to content

chore: harden GitHub Actions controls - #4

Merged
nikuscs merged 2 commits into
mainfrom
security/harden-release-approval
May 12, 2026
Merged

chore: harden GitHub Actions controls#4
nikuscs merged 2 commits into
mainfrom
security/harden-release-approval

Conversation

@nikuscs

@nikuscs nikuscs commented May 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • skip PR-triggered CI jobs when the pull request comes from a fork
  • avoid persisting checkout credentials in CI jobs
  • reduce release workflow default permissions to no scopes
  • grant write token only to release write jobs and require the protected production environment for tag, release, and cleanup jobs

Verification

  • Parsed workflow YAML locally
  • Ran git diff --check

nikuscs commented May 12, 2026

Copy link
Copy Markdown
Owner Author

Added a follow-up commit on this branch with CODEOWNERS coverage for workflows, Cargo manifests/lockfile, Rust config, migrations, source, and sample config.

@nikuscs
nikuscs marked this pull request as ready for review May 12, 2026 10:37
@nikuscs
nikuscs merged commit 9ef7fc6 into main May 12, 2026
4 checks passed
@nikuscs
nikuscs deleted the security/harden-release-approval branch May 12, 2026 10:38
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