GitHub will block the trigger behind a string of supply-chain attacks, but only in public repos
De-fanging dangerous triggers in GitHub Actions across an organization
A handful of GitHub Actions triggers — pull_request_target and issue_comment — let any stranger on the internet run a workflow with your secrets. They enabled the Ultralytics, LiteLLM, Telnyx, and elementary-data compromises. On Team or Enterprise plans, one organization policy can allowlist the safe triggers and block the rest; on Free plans you apply it repo by repo. Run it in Evaluate mode first, then enforce.
The maintainers behind these projects weren't careless. These triggers look harmless in a workflow file, and the unsafe version is one line away from the safe one.