Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix check-labels workflow commenting on forked PRs (#101467)
Using `pull_request_target` allows securely passing the secrets to make comments on a forked PRs. See more about `pull_request_target` in https://github.blog/2020-08-03-github-actions-improvements-for-fork-and-pull-request-workflows/ The change was verified in malfet/deleteme#53 - with `on pull_request` there were no "This PR needs a label" comment, with with `on pull_request_target` the comment can be posted. Pull Request resolved: #101467 Approved by: https://github.com/malfet
- Loading branch information