diff --git a/.github/workflows/label-pr-review-state.yml b/.github/workflows/label-pr-review-state.yml index 4127ff26c9..d2c24ce3c0 100644 --- a/.github/workflows/label-pr-review-state.yml +++ b/.github/workflows/label-pr-review-state.yml @@ -3,6 +3,8 @@ name: Label PR review state on: schedule: - cron: "0 * * * *" # hourly fallback + push: + branches: [main] workflow_dispatch: inputs: pull_request_number: @@ -27,7 +29,7 @@ permissions: # This privileged workflow only reads PR/check metadata and writes issue labels, # comments, and commit statuses. All unspecified permissions, including contents, # are none; no fork code or configuration is checked out or executed. - pull-requests: read + pull-requests: write issues: write checks: read statuses: write @@ -83,6 +85,7 @@ jobs: const guideMarker = ''; const codeRabbitLabelMarkerPrefix = '