diff --git a/.github/workflows/slash-command-dispatch.yml b/.github/workflows/slash-command-dispatch.yml index 2b9d164b8f7..a7f8f464a14 100644 --- a/.github/workflows/slash-command-dispatch.yml +++ b/.github/workflows/slash-command-dispatch.yml @@ -48,7 +48,8 @@ jobs: comment-id=${{ github.event.comment.id }} issue-number=${{ github.event.issue.number }} actor=${{ github.actor }} - checkout-ref=${{ steps.comment-branch.outputs.head_ref }} + checkout-ref=${{ steps.get-pr.outputs.head.ref }} + checkout-repository=${{ steps.get-pr.outputs.head.repo.full_name }} - name: Edit comment with error message if: steps.scd.outputs.error-message uses: peter-evans/create-or-update-comment@v2