You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Workflow you have this line: ref: ${{ github.head_ref }}
Which work fine if the pull request is not from a fork but as soon as the request came from a fork it will fail.
Could you use this instead: ref: ${{ github.event.pull_request.head.ref }}
Which will work for Upstream and fork.
Ps It seem that if you use Checkout v2 this one work better: ref: ${{ github.event.pull_request.head.sha }}
Thanks
The text was updated successfully, but these errors were encountered:
In the Workflow you have this line:
ref: ${{ github.head_ref }}
Which work fine if the pull request is not from a fork but as soon as the request came from a fork it will fail.
Could you use this instead:
ref: ${{ github.event.pull_request.head.ref }}
Which will work for Upstream and fork.
Ps It seem that if you use Checkout v2 this one work better:
ref: ${{ github.event.pull_request.head.sha }}
Thanks
The text was updated successfully, but these errors were encountered: