Merge pull request #1531 from hi120ki/add-pull-request-target-event

Add : pull_request_target event on GitHub Actions integration
This commit is contained in:
Tal 2025-02-15 08:08:20 +02:00 committed by GitHub
commit 359c963ad1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -81,7 +81,7 @@ async def run_action():
get_logger().info(f"github action: failed to apply repo settings: {e}")
# Handle pull request opened event
if GITHUB_EVENT_NAME == "pull_request":
if GITHUB_EVENT_NAME == "pull_request" or GITHUB_EVENT_NAME == "pull_request_target":
action = event_payload.get("action")
# Retrieve the list of actions from the configuration