Skip to content

Commit

Permalink
chore: fix publish-pr workflow for forks
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Aug 7, 2024
1 parent ee66a77 commit 1e60cc1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e60cc1

Please sign in to comment.