File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,14 +4,10 @@ name: Ready-for-review label
44# run the `manage-ready-for-review.yml` workflow, to remove the
55# "ready-for-review" label from a PR if its no longer needed.
66#
7- # `pull_request_target` (rather than `pull_request`) is required so that the job
8- # has a read/write token for pull requests opened from forks. This is safe here
9- # because the reusable workflow never checks out or executes pull-request code.
10- #
117# The label removal workflow lives in hyperlight-dev's `.github` repository. To apply this workflow
128# to another repository, copy this file to that repo.
139on :
14- pull_request_target :
10+ pull_request :
1511 types : [closed, converted_to_draft]
1612 pull_request_review :
1713 types : [submitted, dismissed]
@@ -23,11 +19,11 @@ concurrency:
2319
2420permissions :
2521 contents : read
26- pull-requests : read
22+ pull-requests : write
2723 issues : write
2824jobs :
2925 manage-label :
3026 # Shared workflow in the org-wide `.github` repository, pinned to a commit SHA
31- uses : hyperlight-dev/.github/.github/workflows/manage-ready-for-review.yml@55e0ed4457b40f371ec9b6f2828397b09a833a43
27+ uses : hyperlight-dev/.github/.github/workflows/manage-ready-for-review.yml@e5e471d927d3a72676ab48433da8a99d15a32ad7
3228 with :
3329 pr-number : ${{ github.event.pull_request.number }}
You can’t perform that action at this time.
0 commit comments