I have been able to use the action to comment on PRs coming from a fork (thanks for documenting the pull_request_target event).
I my comment I would need to use the fork repository, not the target.
Do you know what I could use to get the equivalent for ${{ github.repository }} on the fork? After I switched to pull_request_target, that variable became the target repository...
Hi,
Thanks for this action!
I have been able to use the action to comment on PRs coming from a fork (thanks for documenting the
pull_request_target
event).I my comment I would need to use the fork repository, not the target.
Do you know what I could use to get the equivalent for
${{ github.repository }}
on the fork? After I switched topull_request_target
, that variable became the target repository...https://github.com/mwouts/jupytext/blob/main/.github/workflows/step_comment-pr.yml#L26
Thanks !