EstontincPublished 3 min read
GitHub Actions blocks pull_request_target by default from 2 December 2026
GitHub Actions will block pull_request_target events by default in all public repositories from 2 December 2026, with two brownouts in November. What changes, why GitHub is doing it, who is affected and a six-step plan to prepare your workflows.


GitHub Actions will block pull_request_target events by default in all public repositories starting 2 December 2026. Workflows that rely on the trigger will stop running unless an Actions event policy explicitly allows them. Two brownouts on 9 and 16 November will show you which workflows are affected before the change becomes permanent.
This article sums up what GitHub announced, why the trigger is risky, who is affected and how we would prepare a project's workflows before the first brownout.
What GitHub announced
According to the GitHub Changelog of 2 November 2026:
- From 2 December 2026, pull_request_target is blocked by default in all public repositories, unless an applicable Actions event policy explicitly allows it.
- Enforcement moved from 2 November to 2 December. The default rule comes through workflow execution protections and runs in evaluate mode until then, so you can see which runs it would block.
- Two brownouts come first, on 9 and 16 November 2026 from 16:00 to 18:00 UTC.
- Private and internal repositories are not affected.


Why GitHub is blocking pull_request_target
The pull_request_target trigger runs in the context of the base repository and can access its secrets. If a workflow executes untrusted code from a fork, that code could compromise the pipeline or steal those secrets, such as deploy tokens or cloud credentials.
The default rule reduces that risk for everyone, while still letting maintainers explicitly allow the workflows that genuinely depend on the trigger.
Who is affected by the change


The change applies to public repositories on GitHub Free, GitHub Team and GitHub Enterprise Cloud. It does not apply to GitHub Enterprise Server. If your company publishes an open source SDK, plugin, library or documentation site with workflows that label, comment on or test pull requests from forks, check them now.
What happens during the brownouts
During each two-hour window, pull_request_target runs that the default rule blocks will create failed runs with an error annotation, and the workflows will not execute. After each window, the rule returns to evaluate mode and workflows run again with warnings. In Indonesia, the windows fall at 23.00 to 01.00 WIB.
How to prepare your workflows


- Open Insights before 9 November to see which workflow runs the rule would block.
- List the workflows in your public repositories that use pull_request_target.
- Check what they run. Any step that checks out or executes code from a fork with access to secrets is the risk GitHub is closing.
- Keep the default block for workflows that do not need the trigger. Often a plain pull_request trigger is enough.
- Allow it explicitly where you truly need it, through an Actions event policy, and use workflow file targeting to allow only specific workflows.
- Watch the 9 November brownout. Failed runs with an error annotation show anything you missed.
The last three steps include our recommendations from client projects alongside GitHub's two official options. For a wider checklist, read our guide to securing your CI/CD pipeline, and see the earlier GitHub Actions Node 24 and Ubuntu 26.04 changes.
What it means for your business
For most private business repositories nothing changes. For companies that maintain public code, a broken workflow on 2 December can mean pull requests that are no longer labelled, tested or previewed, at the moment contributors or customers expect them. A short audit now avoids that and keeps secrets away from code you do not control.
How Estontinc helps
Estontinc is a software house in Malang, Indonesia, with 100+ projects and 50+ clients over more than six years. For GitHub Actions we can:
- Audit your workflows and list every use of pull_request_target and secrets in public repositories.
- Rewrite risky workflows so they do not run fork code with access to secrets.
- Set up event policies and deployment secrets with our cloud and DevOps team.
- Maintain your pipelines after the change, including future GitHub Actions updates.
We work under NDA, you own the source code, and we communicate in English, Indonesian or Japanese. Want a quick check before 9 November? Contact us for a free consultation.
Frequently asked questions
When does GitHub block pull_request_target?
GitHub Actions blocks pull_request_target events by default in all public repositories from 2 December 2026, unless an applicable Actions event policy explicitly allows them. Enforcement was first planned for 2 November 2026. Two temporary brownouts run on 9 and 16 November 2026, from 16:00 to 18:00 UTC.
Are private repositories affected?
No. GitHub says private and internal repositories are not affected. The change covers public repositories on GitHub Free, GitHub Team and GitHub Enterprise Cloud. It does not apply to GitHub Enterprise Server, so self-hosted GitHub installations keep their current behaviour for this trigger.
Why is pull_request_target risky?
It runs in the context of the base repository and can access that repository's secrets. If a workflow executes untrusted code from a fork, the code could compromise the pipeline or steal secrets such as deploy tokens. Blocking the trigger by default reduces this risk for every public repository.
How do I keep a workflow that needs pull_request_target?
Explicitly allow pull_request_target in an applicable Actions event policy, and use workflow file targeting to allow only the specific workflows that depend on it. Check Insights first to see which runs the default rule would block, and make sure those workflows do not run fork code with secrets.
Sources
Facts and figures in this article come from these official sources.
- GitHub Actions
- CI/CD
- DevSecOps
- Cloud & DevOps





