diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 36cce1619f..f0eb05c4bb 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -180,7 +180,7 @@ jobs: echo "$content_prologue$content$content_epilogue" >> "$GITHUB_OUTPUT" echo 'EOF' >> "$GITHUB_OUTPUT" - name: Comment on the pull request - run: gh pr comment "$PR_NUMBER" --edit-last --create-if-none --body "$COMMENT_BODY" + run: gh pr comment "$PR_NUMBER" --repo "$GITHUB_REPOSITORY" --edit-last --create-if-none --body "$COMMENT_BODY" env: PR_NUMBER: ${{ github.event.pull_request.number }} COMMENT_BODY: |