From 1e60cc197fdb00008d9e68ec48d2ac571e97e40d Mon Sep 17 00:00:00 2001 From: Alec Larson <1925840+aleclarson@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:06:06 -0400 Subject: [PATCH] chore: fix publish-pr workflow for forks --- .github/workflows/publish-pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-pr.yml b/.github/workflows/publish-pr.yml index a5e2c2b0..0a5a9cdb 100644 --- a/.github/workflows/publish-pr.yml +++ b/.github/workflows/publish-pr.yml @@ -19,12 +19,14 @@ jobs: [Your preview release is being published.](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) :hourglass: token: ${{ secrets.GITHUB_TOKEN }} - - uses: xt0rted/pull-request-comment-branch@v2 + - uses: radashi-org/pull-request-comment-branch@v2 id: comment-branch + - uses: actions/checkout@v4 if: success() with: ref: ${{ steps.comment-branch.outputs.head_ref }} + repository: ${{ steps.comment-branch.outputs.head_owner }}/${{ steps.comment-branch.outputs.head_repo }} - uses: pnpm/action-setup@v4 - uses: actions/setup-node@v4