It would be nice to use this action in PRs coming from forks. In order to do this the easiest way is to use the pull_request_target event, which has write permissions. This approach is more difficult as you don't know the PR number by the GitHub context, but there are some mechanisms to fetch that.
I'm just a newbie in typescript and my created GitHub actions are small and ad-hoc to my project, but if there is any way I could help I will be glad to do so.
It would be nice to use this action in PRs coming from forks. In order to do this the easiest way is to use the
pull_request_targetevent, which has write permissions. This approach is more difficult as you don't know the PR number by the GitHub context, but there are some mechanisms to fetch that.I'm just a newbie in typescript and my created GitHub actions are small and ad-hoc to my project, but if there is any way I could help I will be glad to do so.