GitHub Actions on December 2: A Checklist for Public Repositories

A practical checklist for public repository maintainers reviewing GitHub Actions tests, triage and releases before the December 2 policy change.

# GitHub Actions on December 2: A Checklist for Public Repositories

If you maintain a public repository, check whether any GitHub Actions workflows use `pull_request_target` before December 2, 2026. The quickest way to decide what needs changing is to separate three jobs: testing a contribution, triaging a pull request, and releasing trusted code. They do not need to run with the same permissions.

What changes on December 2?

According to the GitHub changelog and GitHub Actions security documentation, GitHub will start enforcing its default policy that blocks `pull_request_target` in affected public repositories. An applicable Actions event policy can explicitly allow the event. The default does not replace an applicable policy you already configured, and this change does not apply to private or internal repositories or GitHub Enterprise Server. Sources checked on November 23, 2026.

This is not a retirement of ordinary `pull_request` workflows. If your build and test jobs already use that event and do not depend on a separate `pull_request_target` job, there is no reason to change them solely for this rollout. If a required check depends on an affected workflow, make sure you know what will produce that check after the policy takes effect.

1. Inventory the job, not just the trigger

Review the default branch's workflows and any reusable workflows they call. For each use of `pull_request_target`, record its file and owner, what it does, any required check it produces, what it reads or executes, and which credentials or write permissions it needs. Compare that list with GitHub's policy insights to see which runs would be blocked. A quiet insights view does not replace looking at the workflow files: you may have jobs that have not run recently.

2. Separate tests from triage and deployment

  • Builds, linting and tests: Prefer ordinary `pull_request` for checks that can run without private credentials. If a check needs private dependencies, design a safe alternative for fork contributions rather than granting the untrusted job more access.
  • Labels and routing: Keep this as a separate metadata-only job if you need it at all. Use the smallest permissions needed, treat contribution text as data, and keep the job from executing code supplied by the pull request. Retain `pull_request_target` only when you can explain why the event and its permissions are necessary.
  • Releases: Keep publishing and deployment separate from fork checks. Use the repository's existing trusted release event and approval rules for jobs that need release credentials.

For example, if one workflow both labels a contribution and runs its tests, split the two responsibilities. The test job should not inherit the permissions needed to change labels. The labeling job should not need to build or run the contributor's changes. See the guide to cloud guardrails and approval gates for a way to decide where automated checks belong and where a human decision still makes sense.

3. Verify what a contributor will see

In a repository you control, use a harmless test contribution from a fork. Check that the expected tests appear, that required checks still resolve, and that any retained triage job does only what its owner documented. Check that a contribution cannot reach the release path. If you changed a job name, verify the required check points to the intended replacement before depending on it for merges.

Where an exception really is necessary, document the workflow, the reason, the minimum permissions and the owner who will review it. Keep the scope as narrow as your policy supports. Do not make a broad exception simply to bring back a missing check.

Start here: Open the policy insights, pick one affected workflow, and label it as test, triage or release. If it does more than one of those things, separate the jobs before making a policy decision. For help untangling permissions, checks and releases, see CI/CD Modernization.