MC-BARS.COMDomains · SSL · HTTPS · Guides
News / CMS and Hosting
Development Security

GitHub to strengthen protection for public repositories: Actions changes take effect December 2

GitHub announced a new protection mode for the pull_request_target event in Actions. Two check dates—November 9 and 16—will take place before the restriction is enabled.

Review dated November 5, 2026 · original publication 2026-11-02 · GitHub Changelog — pull_request_target blocked by default December 2
Editorial illustration for the news story: GitHub to strengthen protection for public repositories: Actions changes take effect December 2

What’s changing in GitHub Actions

On November 2, 2026, GitHub announced a change to the rules for running automated jobs in public repositories. Starting December 2, the pull_request_target event will be blocked by default unless an applicable policy allowing it to run is set. The new restriction, as announced, does not apply to private and internal repositories.

GitHub Actions is used to build websites, run tests, publish releases, and update servers. The danger of certain automated workflows is that they can run with the permissions of the base repository even when handling an external code change request. If an unverified code change is run in such a job, there is a risk of access to secrets and publishing tools.

Why the pull_request_target event is dangerous

The pull_request_target event is intended for tasks that need the context of the base repository. It can be useful for labels, comments, and other administrative operations. But if a job is misconfigured, a developer may accidentally load content from an external branch and run it with elevated privileges. This differs from the regular pull_request event and requires a separate trust model.

For example, if a workflow has a token for deploying a website or access to variables containing passwords, running someone else’s code becomes especially dangerous. A malicious command could try to read or send secrets to an outside system. GitHub’s new rules are intended to reduce precisely this risk. They do not mean that every code change request is automatically an attack.

When the test shutdowns will take place

Before protection is permanently enabled, two temporary test periods are scheduled: November 9 from 16:00 to 18:00 UTC and November 16 from 16:00 to 18:00 UTC. During these periods, affected jobs will be blocked and marked as failed. The system will then return to evaluation mode until December 2, when the restriction becomes permanent.

The test windows are not for testing attacks, but for finding important workflows that will stop running after the policy change. Notifications and Insights tools can help you see in advance which tasks will be affected by the rule. The date December 2 is stated in the latest announcement; the protection launch date had previously been postponed.

What repository owners should check

Before November 9, it is useful to review the files in the .github/workflows directory and look for workflows triggered by pull_request_target. For each one, determine why it runs, which tokens it receives, and whether it needs access to code from an external branch. The riskiest combination is running untrusted content with secrets or write permissions.

If a specific workflow is genuinely necessary, GitHub recommends allowing it through an appropriate Actions policy. But this should be a targeted choice: limit token permissions, exclude unnecessary secrets, and separate external code checks from operations that publish a release or modify the base repository. Simply disabling protection to make errors go away would weaken security.

How this relates to website updates

Many websites publish new versions through GitHub Actions: a commit is pushed to the repository, after which a robot builds the project and transfers the files to the hosting service. In this setup, access to SSH keys, APIs, and CDN tokens may be stored in GitHub secrets. The new rule is especially relevant to open projects that accept changes from external contributors.

For a website with its own server, it is safer to separate pull request checks from the deployment process. Tests can analyze someone else’s code without production keys, while publishing should only run after changes have been reviewed and accepted. The November 5 review is based on GitHub’s official announcement of November 2; the mechanism concerns CI/CD security, not SSL certificate settings as such.

← All news

IP Geolocation by DB-IP