Category Hub · 15 Guides

GitHub Actions workflow security playbooks

Harden your CI/CD pipelines from repository settings down to individual shell steps. Each guide cites official GitHub documentation and OpenSSF guidance inline so maintainers can verify behavior before changing workflow YAML or org policies.

Scanning a repository right now? Start with five workflow risks to fix now for the audit sequence, check November 2 pull_request_target enforcement if you maintain public repos, or run gha-guard locally against .github/workflows.

1. Rollout deadlines, execution policies, and shared workflows

Control which events, actors, bots, and shared workflow_call files can start jobs across your organization.

A large control panel with rows of switches, buttons, and displays.
GitHub Actions

GitHub Actions workflow execution protections guide

Put actor and event allow-lists in front of workflow execution, measure real run impact in evaluate mode, and enforce policies without breaking releases.

2. GITHUB_TOKEN permissions, OIDC roles, and supply-chain pins

Scope credentials to the exact job and ref that needs them, pin third-party actions to full SHAs, and verify build provenance.

3. Pull-request boundaries, shell steps, caches, and runners

Keep untrusted fork inputs, job summaries, restored caches, and self-hosted runner machines from leaking secrets or tampering with builds.