Skip to content

Scheduling infrastructure for absolutely everyone.

ci: use pull_request_target for conflict resolver label trigger (#26762)

Keith Williams77184226e571
diff --git a/.github/workflows/devin-conflict-resolver.yml b/.github/workflows/devin-conflict-resolver.yml
index 8bff640f1df..a137341a333 100644
--- a/.github/workflows/devin-conflict-resolver.yml
+++ b/.github/workflows/devin-conflict-resolver.yml
@@ -1,7 +1,7 @@
name: Devin PR Conflict Resolver
on:
- pull_request:
+ pull_request_target:
types: [labeled]
workflow_dispatch:
inputs:
@@ -20,7 +20,7 @@ jobs:
runs-on: blacksmith-2vcpu-ubuntu-2404
# Only run when devin-conflict-resolution label is added, or on manual dispatch
if: |
- (github.event_name == 'pull_request' && github.event.label.name == 'devin-conflict-resolution') ||
+ (github.event_name == 'pull_request_target' && github.event.label.name == 'devin-conflict-resolution') ||
github.event_name == 'workflow_dispatch'
steps:
- name: Get PR details