Actions Security

Security hardening for GitHub Actions workflows with a least-privilege posture — default-deny permissions ({} then minimal per-job scopes), SHA-pinning every third-party action, avoiding pull_request_target (and the safe trusted-event allowlist pattern when an elevated trigger is unavoidable), preventing expression/script injection via env indirection, explicit secrets (no inherit), and OIDC over long-lived keys. Use when writing or reviewing GitHub Actions workflows for security, locking down permissions or GITHUB_TOKEN, deciding whether pull_request_target is safe, handling untrusted PR input or secrets, or pinning actions.

bitwise-media-group dcbd174 2 files · 9.5 KB Updated

File contents

bitwise-media-group/skills/tree/main/plugins/actions/skills/actions-security commit dcbd174970

Frequently asked questions

npx skillmds@latest add bitwise-media-group/actions-security