ghtier
← All keys & policies
Policy·organization

Workflow execution protections

Tier 1 · HighManagement

Why Tier 1

Decides which actors and events can start workflows that hold secrets and write tokens, across every repository it targets. Loosening it reopens pwn-request style attacks.

Ruleset-based actor and event rules that control who and what can trigger workflows, set by enterprise owners, organization owners and repository administrators. GA since September 2026. From 2 December 2026 a default rule blocks pull_request_target in public repositories that have no event policy.

Available on: Free, Team, Enterprise Cloud (evaluate mode is Enterprise Cloud only), EMU. Source

Attack path

Most CI/CD compromises start with an outsider triggering a privileged workflow, through pull_request_target, workflow_run or an issue comment. Whoever can edit these rules can allow those events again, or leave the rules in evaluate mode, where they report but block nothing.

Mitigations

Detect

Nothing in the organization or enterprise audit log shows this. Review it on a schedule instead.

Related permissions

GitHub Docs: Controlling workflow execution