Skip to content

[GH-2645] Fix GitHub Actions workflow policy violation in Pull Request Labeler#2648

Merged
jiayuasu merged 1 commit intomasterfrom
fix/gh-actions-labeler-pull-request-target
Feb 12, 2026
Merged

[GH-2645] Fix GitHub Actions workflow policy violation in Pull Request Labeler#2648
jiayuasu merged 1 commit intomasterfrom
fix/gh-actions-labeler-pull-request-target

Conversation

@jiayuasu
Copy link
Member

@jiayuasu jiayuasu commented Feb 12, 2026

Did you read the Contributor Guide?

Is this PR related to a ticket?

What changes were proposed in this PR?

Replace pull_request_target trigger with pull_request in the Pull Request Labeler workflow (.github/workflows/labeler.yml).

ASF Infrastructure flagged this as a policy violation because pull_request_target runs with elevated permissions and can be exploited by malicious PRs from forks. The pull_request trigger is the safe alternative.

How was this patch tested?

This is a CI configuration change. The labeler workflow will be tested automatically when a PR is opened.

Did this PR include necessary documents?

  • No, this PR does not affect any public API so no need to change the documentation.

@github-actions github-actions bot added the github_actions Pull requests that update GitHub Actions code label Feb 12, 2026
@jiayuasu jiayuasu added this to the sedona-1.9.0 milestone Feb 12, 2026
@jiayuasu jiayuasu merged commit a91c940 into master Feb 12, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Actions workflow policy violations in sedona

1 participant