Repository navigation
Disable PR labeling and limit pull_request_target to CLA - #12271
Merged
Merged
Conversation
pull_request_target to PR labeling and CLA checks
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The privileged-workflow exception depends on live repository and organization Actions policies that require maintainer verification to confirm validity, activation, and scope limited to labeler.yml and cla.yml.
No open issues 🎉
What changed in this PR
Moves PR validation to pull_request and proposes a targeted event-policy exception for labeling and CLA checks.
Changes:
- Switches PR validation from
pull_request_targettopull_request. - Adds a policy allowing
pull_request_targetandissue_commentfor the labeler and CLA workflows.
| File | Description |
|---|---|
.github/workflows/enforce-label.yml |
Changes the validation trigger while preserving event types. |
.github/actions-policies/pr-metadata.json |
Defines the event policy scoped to labeling and CLA workflows. |
Review effort: Balanced
pull_request_target to PR labeling and CLA checkspull_request_target to CLA
pull_request_target to CLApull_request_target to CLA
dmadisetti
approved these changes
Dec 3, 2026
Contributor
|
🚀 Development release published. You may be able to view the changes at https://marimo.app?v=0.26.1-dev128 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub recently started blocking
pull_request_targetby default, which is why these checks are failing. This moves PR validation topull_request, disables the auto-labeler for now, and proposes an exception only for CLA Assistant. GitHub announcementLonger term, I think we should disable
pull_request_targetandworkflow_runacross the org and use a GitHub App when something needs to write to a PR. See open source security at Astral for more details.