Closed zomglings closed 3 years ago
GitHub Actions triggered by pull_request events from forks do not have permission to post comments to the base repo.
pull_request
The fix for this is to use the pull_request_target event.
pull_request_target
See official GitHub statement about pull_request_target: https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/#improvements-for-public-repository-forks
GitHub Actions triggered by
pull_request
events from forks do not have permission to post comments to the base repo.The fix for this is to use the
pull_request_target
event.See official GitHub statement about
pull_request_target
: https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/#improvements-for-public-repository-forks