All guides

What changed in GitHub permissions in 2026

GitHub changed who can trigger a workflow, what an app or a token may do, and who can handle a security advisory. Six changes matter, and one has a date: 2 December.

A person holding a phone above a laptop keyboard

1. pull_request_target is blocked by default from 2 December

From 2 December 2026, GitHub Actions blocks pull_request_target events by default in every public repository on GitHub Free, Team and Enterprise Cloud, unless an Actions event policy allows them. Private and internal repositories are not affected, and neither is GitHub Enterprise Server.

What to do: open Insights to see which runs would be blocked. Then keep the block, or allow the event for the workflow files that need it.

2. Rules for who and what may trigger a workflow

Workflow execution protections have been in public preview since 18 June. They are an allow list, built on rulesets, of the actors (users, repository roles, GitHub Apps, Copilot, Dependabot) and the events (push, pull_request, pull_request_target, workflow_dispatch) that may start a run. Evaluate mode shows what a rule would block before you enforce it. You find them under Policies in the Actions settings of an organization or a repository. Until you set a rule, everyone with write access can trigger workflows.

3. Narrower permissions for apps and tokens

Since 13 October, the repository_creation:write permission lets a GitHub App or a fine-grained personal access token create repositories without the much broader repository_administration:write.

The same release lets repository administrators add their own repositories to an app the organization has already approved, without asking an owner. Apps that ask for organization-level permissions, repository administration or repository creation still need the owner. If owners should keep that decision, GitHub's documentation describes how to restrict app installation to organization owners.

4. Security advisories without admin rights

On 20 November, custom repository roles gained four permissions under Security: View security advisories; Create, Edit, and Manage security advisories; Accept private vulnerability reports and close or reopen security advisories; and Publish security advisories and request CVEs. People who triage vulnerabilities no longer need to be repository administrators. Merging a temporary private fork still does. It applies to plans with custom repository roles, GitHub Enterprise Cloud among them.

5. Organization roles defined once for the enterprise

Since 23 February, enterprise administrators can create custom organization roles that are available in every organization of the enterprise, up to 20 at a time. Organization owners assign them like their own.

6. Anyone can revoke a leaked token

Since 26 March, GitHub's credential revocation API accepts classic and fine-grained personal access tokens, OAuth app tokens, and GitHub App user and refresh tokens. It needs no authentication, so whoever finds a token can submit it. Revocation cannot be undone, and the owner is told by email.

Three things to check this week

  1. Search your public repositories for pull_request_target before 2 December.
  2. List the GitHub Apps and tokens that hold repository administration only to create repositories, and move them to repository_creation:write.
  3. Decide whether repository administrators may add repositories to approved apps, and set the restriction if they may not.

Sources

Want a second pair of eyes on yours? We do this work for a living.

Book a call

More guides