ci: use context.issue.number for removing ok-to-test

`github.event.pull_request.number` does not seem to be valid as a script
object/variable.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2023-02-20 11:16:23 +01:00 committed by mergify[bot]
parent 56c8f1ea0b
commit 48822d942d

View File

@ -119,7 +119,7 @@ jobs:
with: with:
script: | script: |
github.rest.issues.removeLabel({ github.rest.issues.removeLabel({
issue_number: github.event.pull_request.number, issue_number: context.issue.number,
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
name: ["ok-to-test"] name: ["ok-to-test"]