An enterprise owner set the enterprise policy to allow only enterprise actions and reusable workflows. Now every workflow that uses actions/checkout fails at job setup. Teams otherwise use only actions stored in enterprise repositories. The owner must keep third-party actions blocked and must not maintain copies of GitHub's actions. What should the owner do?
Choose one.
An enterprise-level allowed-actions policy limits every organization; the enterprise-only setting blocks GitHub-authored actions.
GitHub documents that the enterprise-only option also blocks actions such as actions/checkout. The fix is at the enterprise level: switch to the select policy and admit actions created by GitHub. Organizations cannot loosen an enforced enterprise policy, pinning does not change the source rules, and forking works but creates copies to maintain.
- Recognise that the enterprise-only option blocks GitHub-authored actions.
- Remember that organizations cannot override an enterprise restriction.
- Reject forking because of the no-copies constraint.
- Switch the enterprise to the select policy with GitHub-created actions allowed.
Exam tip: Fix a too-strict enterprise policy at the enterprise; organizations cannot loosen it.
Govern GitHub Actions in the Enterprise: Policies, Templates, Secrets and Variables (GH-200) — the lesson that teaches this.