diff --git a/.github/workflows/comment_on_pr.yaml b/.github/workflows/comment_on_pr.yaml index 4f12ff16c..60183667d 100644 --- a/.github/workflows/comment_on_pr.yaml +++ b/.github/workflows/comment_on_pr.yaml @@ -49,7 +49,7 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} delete_user_name: github-actions[bot] - issue_number: ${{ github.event.number }} + issue_number: ${{ env.PR_NUMBER }} - name: Update Comment env: