Skip to content

Record the Actions policy that lets main-source.yml run pull_request_target (blocked by GitHub's default since 2026-12-02) #5827

Backlog

Description

@cliffhall

On 2026-12-02 GitHub began enforcing a default Actions event policy that blocks pull_request_target in public repositories without a policy of their own (docs). This repository had none, so main-source.yml, the one workflow here that uses the trigger, stopped starting: the v2.7.0 merge PR #5826 got startup_failure three times (runs 47499329704, 47500613961, 47501017886, no jobs, no annotations), and its required Source is v2/main check never reported. It last ran green for v2.6.0 on 2026-11-27. mcp-interface-diff.yml mentions the trigger only in a comment and is unaffected.

During the v2.7.0 release (#5820) a maintainer added a repository Actions policy: enforcement Active, rule "Restrict events" allowing pull_request_target, scoped to the workflow path .github/workflows/main-source.yml.

To do

  • Record the requirement where a maintainer will look for it: AGENTS.md (the merge PR exception, beside the main ruleset and its required check), RELEASING.md, and the release skill's step 3, including what a startup_failure on Source is v2/main means and where the policy lives.
  • Decide whether a guard should read the policy back (GET /repos/{owner}/{repo}/actions/policies, which needs a token that can read it) so its removal is caught before a release rather than during one, as the alert sweep does for automated-security-fixes.

Activity

  1. added this to the v2.8.0 milestone on Dec 5, 2026
  2. added
    documentation
    on Dec 5, 2026
  3. fefezey commented on Dec 5, 2026

    @fefezey

    Hi, I'd like to work on the first to-do if it's still open. I'd record the requirement in AGENTS.md (next to the main ruleset and its required check), RELEASING.md and step 3 of the release skill: what a startup_failure on Source is v2/main means and where the Actions policy lives, with a link to the GitHub docs. I'd leave the second point (whether a guard should read the policy back) to the maintainers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationv2

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions