Skip to content

ci(workflow security): document pull_request_target policy, rename Dependabot workflow - #338

Merged
dschach merged 1 commit into
mainfrom
ci/dependabot-pull-request-target-policy
Oct 23, 2026
Merged

dschach merged 1 commit into
mainfrom
ci/dependabot-pull-request-target-policy

Conversation

@dschach

@dschach dschach commented Oct 23, 2026

Copy link
Copy Markdown
Owner

From 2026-11-02, GitHub blocks workflows that the pull_request_target event starts in public repositories, unless an Actions event policy allows the event. See https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target#default-policy-for-pull_request_target

The Dependabot workflow keeps pull_request_target. It never checks out or runs code from the pull request. This repository now has the Actions policy "Allow pull_request_target for the Dependabot workflow" (Settings > Actions > Policies). It allows the event for .github/workflows/dependabot-update.yml only.

  • Rename the workflow to "Dependabot on Pull Request".
  • Explain the default policy and the allow policy in the workflow comments.
  • Remove the stale comment that says this repository is private.

🤖 Generated with Claude Code

… workflow

From 2026-11-02, GitHub blocks workflows that the pull_request_target event starts in public repositories, unless an Actions event policy allows the event. See https://docs.github.com/en/actions/reference/security/securely-using-pull_request_target#default-policy-for-pull_request_target

The Dependabot workflow keeps pull_request_target. It never checks out or runs code from the pull request. This repository now has the Actions policy "Allow pull_request_target for the Dependabot workflow" (Settings > Actions > Policies). It allows the event for .github/workflows/dependabot-update.yml only.

- Rename the workflow to "Dependabot on Pull Request".
- Explain the default policy and the allow policy in the workflow comments.
- Remove the stale comment that says this repository is private.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@dschach dschach changed the title ci: document the pull_request_target policy and rename the Dependabot workflow ci(workflow security): document pull_request_target policy, rename Dependabot workflow Oct 23, 2026
@dschach
dschach merged commit 74b42e4 into main Oct 23, 2026
3 checks passed
@dschach
dschach deleted the ci/dependabot-pull-request-target-policy branch October 23, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant