Workflow execution protections/actions policies. Non-enterprises can't view insights #208237
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaMetrics & Insights Discussion DetailsThe blog post Workflow execution protections in GitHub Actions generally available published on September 17th talks about new a new default actions policy that disables workflows triggered by pull-request-target from running. It then states that it will go into enforcing mode on November 2nd and that until then you can use policy insights to see what workflows would be affected. Unfortunately policy insights is only available to Enterprises. So...
|
Replies: 5 comments 3 replies
|
Hi @gtjoseph, Here are the direct answers to your two questions: 1. Will enforcement only be enabled for enterprises?No, enforcement will apply to all public repositories across GitHub (including Free, Team, and Open Source organizations). The changelog specifies:
Because public repositories are the primary vector for "Pwn Request" attacks (untrusted fork code running with repository secrets), GitHub is enforcing this default across all public repos regardless of account tier. 2. How can open-source / non-enterprise organizations find affected workflows?Since the Policy Insights dashboard is an Enterprise-tier feature, open-source maintainers can audit their repositories using the following methods: Method A: GitHub Code Search (Fastest)You can quickly find every workflow utilizing
|
|
So the only way we'll really know if our policies work is to wait for November 2nd and see what breaks? |
|
Hi @gtjoseph Workflow execution protections for pull_request_target went to enforcing mode on the date in the September 17 2026 changelog. Non enterprise orgs cannot view the new Actions insights dashboard that shows policy violations per repo. What you can do without enterprise insights:
The blog post changelog entry is the authoritative source for enforcement date and default behavior. Enterprise insights is a visibility gap for Pro orgs, valid feedback to add here. |
|
Thank you for your suggestions. We took great care in constructing our workflows with pull_request_target and are confident we have them properly secured. I guess I was a bit put off by the fact that the changelog post says...
...but doesn't mention that it's "Actions Insights" and not the repository or organization Insights and that Actions Insights are restricted to enterprises. FYI... The only reason we use pull_request_target and not pull_request is that PRs from forked repos don't have access to repository or organization actions variables when triggered by pull_request. See #44322 |
|
Thank you but we have already explored many options for accessing variables from fork PRs with pull_request. None of them are without issues. |
No, you don't have to wait until November 2nd you can verify everything right now:
Check if you're affected: In your repository's Actions tab, type this in the filter box:
event:pull_request_targetIf no runs show up, none of your workflows rely on it and nothing will break.
Explicit policies apply immediately: If you need a workflow to keep running, go to Settings > Actions > Policies and explicitly allowlist that workflow file today. You don't have to wait for November your policy takes effect instantly and overrides the default.
Test enforcement today: You can manually switch the policy to "Enforced" on a test repository right now and trigger a test PR to see exactly how it behaves.