Skip to content

Commit

Permalink
fix pr number?
Browse files Browse the repository at this point in the history
  • Loading branch information
oxve committed Nov 14, 2023
1 parent 389a527 commit 1a0d4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/label-cherry-pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
if (!'${{ steps.create-pr.outputs.pull-request-number }}') {
// Comment on the originating PR if creating a cherry pick PR failed.
github.issues.createComment({
issue_number: github.event.pull_request.number,
issue_number: github.event.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '> [!IMPORTANT]\n> Creating the cherry pick PR failed! Check the log at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}.'
Expand Down

0 comments on commit 1a0d4ff

Please sign in to comment.