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

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 9ff951bb3f2b Revert "Avoid pull_request_target in actions"
9ff951bb3f2b is described below

commit 9ff951bb3f2b60c968cf7ed7dd39550e0dc5f20b
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Feb 12 14:46:10 2026 +0100

    Revert "Avoid pull_request_target in actions"
    
    This reverts commit 0bc55384f61a507132ba737635215b6552fc41a1.
---
 .github/workflows/component-pr.yaml | 2 +-
 .github/workflows/generic-pr.yaml   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/component-pr.yaml 
b/.github/workflows/component-pr.yaml
index c31ea0c2d1ad..47cc7d8483dd 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -41,7 +41,7 @@ jobs:
     steps:
       - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # 
v8.0.0
         if: |
-          github.event_name == 'pull_request' &&
+          github.event_name == 'pull_request_target' &&
             (github.event.action == 'opened' ||
              github.event.action == 'reopened')
         with:
diff --git a/.github/workflows/generic-pr.yaml 
b/.github/workflows/generic-pr.yaml
index c9fa9f82063b..d20a84c8f579 100644
--- a/.github/workflows/generic-pr.yaml
+++ b/.github/workflows/generic-pr.yaml
@@ -38,7 +38,7 @@ jobs:
     steps:
       - name: Label changes scope
         if: |
-          github.event_name == 'pull_request' &&
+          github.event_name == 'pull_request_target' &&
             (github.event.action == 'opened' ||
              github.event.action == 'reopened' ||
              github.event.action == 'synchronize')

Reply via email to