Просмотр исходного кода

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 часов назад
Родитель
Сommit
2c3cf195c6
1 измененных файлов с 1 добавлено и 1 удалено
  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: