This is an automated email from the ASF dual-hosted git repository.

abhishekrb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git


The following commit(s) were added to refs/heads/master by this push:
     new 51bb67803e6 Try pull_request_target instead of pull_request (#19081)
51bb67803e6 is described below

commit 51bb67803e63e9ca93eee03d87a22949ca0391cb
Author: Abhishek Radhakrishnan <[email protected]>
AuthorDate: Tue Mar 3 20:11:10 2026 -0800

    Try pull_request_target instead of pull_request (#19081)
    
    A GitHub action to auto-add milestones were added in #18935
    
    This check has been failing consistently with a 403 error on all PRs coming 
from forks once they are merged into master. Given the 403, it does indicate a 
permissions issue likely with the GitHub token used for this. Trying 
pull_request_target instead of pull_request similar to the existing labeler 
action which uses the same. Since this specific add-milestone check doesn't 
export any credentials, I believe using pull_request_target should be okay and 
should fix the problem.
---
 .github/workflows/pr-merged.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pr-merged.yml b/.github/workflows/pr-merged.yml
index 9e62d726706..99da7bc3d79 100644
--- a/.github/workflows/pr-merged.yml
+++ b/.github/workflows/pr-merged.yml
@@ -20,7 +20,7 @@
 name: "PR Merged"
 
 on:
-  pull_request:
+  pull_request_target:
     types: [closed]
 
 jobs:


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to