Skip to content

Commit

Permalink
[CI] Comment trigger example, try fixing for forks
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Mar 24, 2023
1 parent f116018 commit 159232b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/comment_trigger_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ jobs:
- name: Checkout PR branch
uses: actions/checkout@v3
with:
ref: ${{ steps.comment-branch.outputs.head_ref }}
# ref: ${{ steps.comment-branch.outputs.head_ref }}
# https://github.com/actions/checkout/issues/331#issuecomment-1438220926
ref: refs/pull/${{ github.event.issue.number }}/head

- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 159232b

Please sign in to comment.