Selaa lähdekoodia

fix(workflow): run labelling on target repo

Since this workflow changes the PR labels, it needs access to the target
repository access token. Workflow documentation is not clear on this, they
probably use it for a multi-user repository where internal developers push
branches to the main repository.
Jason Rumney 7 tuntia sitten
vanhempi
sitoutus
2c3cf195c6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      .github/workflows/label-pr-size.yml

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

@@ -1,6 +1,6 @@
 name: Label PRs based on size
 
-on: [pull_request]
+on: [pull_request_target]
 
 jobs:
   add_pr_size_label: