Skip to content

Commit

Permalink
ci: use context.issue.number for removing ok-to-test
Browse files Browse the repository at this point in the history
`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>
  • Loading branch information
nixpanic authored and mergify[bot] committed Feb 20, 2023
1 parent 56c8f1e commit 48822d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-commentor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
with:
script: |
github.rest.issues.removeLabel({
issue_number: github.event.pull_request.number,
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
name: ["ok-to-test"]
Expand Down

0 comments on commit 48822d9

Please sign in to comment.