Browse Source

CI: Switch the labeler event to pull_request_target

Otherwise, the action won't work on PRs from forked repositories
(#10326).
Dan Fandrich 1 year ago
parent
commit
de8cc2108a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/label.yml

+ 1 - 1
.github/workflows/label.yml

@@ -10,7 +10,7 @@
 # https://github.com/actions/labeler
 
 name: Labeler
-on: [pull_request]
+on: [pull_request_target]
 
 jobs:
   label: