Fix PR size check failing on fork PRs (#51902)
Follow-up https://github.com/zed-industries/zed/pull/51876 Use `pull_request_target` for PR size check so the workflow has write permissions to manage labels on fork PRs. Safe since we don't execute any PR code here. Failing example: https://github.com/zed-industries/zed/actions/runs/23282504031/job/67698793729?pr=48845 Release Notes: - N/A
This commit is contained in:
1 parent
8b533dc7e4
commit
1b972d2cc9
1 file changed
+1
-1
@@ -11,7 +11,7 @@
|
||||
name: PR Size Check
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types: [opened, synchronize]
|
||||
|
||||
permissions:
|
||||
|
||||
Reference in new issue
Block a user