From 498c30bc2e8af6d11605213c80ca0dbae505358b Mon Sep 17 00:00:00 2001 From: Neko Ayaka Date: Sun, 29 Mar 2026 16:22:44 +0800 Subject: [PATCH] chore(ci): incorrect layer to event context --- .github/workflows/ops-slash-command-hold.yml | 2 +- .github/workflows/ops-slash-command-unhold.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ops-slash-command-hold.yml b/.github/workflows/ops-slash-command-hold.yml index 5978a63a4..39dd81982 100644 --- a/.github/workflows/ops-slash-command-hold.yml +++ b/.github/workflows/ops-slash-command-hold.yml @@ -16,6 +16,6 @@ jobs: github.rest.issues.addLabels({ owner: '${{ github.event.client_payload.github.payload.repository.owner.login }}', repo: '${{ github.event.client_payload.github.payload.repository.name }}', - issue_number: ${{ github.event.client_payload.github.pull_request.number }}, + issue_number: ${{ github.event.client_payload.github.payload.issue.number }}, labels: ['pr-review/hold'] }) diff --git a/.github/workflows/ops-slash-command-unhold.yml b/.github/workflows/ops-slash-command-unhold.yml index c96a2513e..3c316b779 100644 --- a/.github/workflows/ops-slash-command-unhold.yml +++ b/.github/workflows/ops-slash-command-unhold.yml @@ -16,6 +16,6 @@ jobs: github.rest.issues.removeLabel({ owner: '${{ github.event.client_payload.github.payload.repository.owner.login }}', repo: '${{ github.event.client_payload.github.payload.repository.name }}', - issue_number: ${{ github.event.client_payload.github.pull_request.number }}, + issue_number: ${{ github.event.client_payload.github.payload.issue.number }}, name: 'pr-review/hold' })