Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Approve all workflow runs for a specific contributor PR (#3876)
### What This PR adds the ability to approve workflow runs on forks on any current and subsequent changes automatically. This is a step above the "don't approve any workflow runs on forks automatically" that we have set up right now. The approval is triggered by commenting on a PR issue (`issue_comment`), or the usual PR activity (`pull_request_target`). It then looks through all comments on the PR, searching for the substring `@rerun-bot approve`. If it finds at least one, then it checks if the user that sent that comment is any of: - A repository owner - A member of the repository's organization - A repository collaborator If that is the case, then it approves all workflow runs on that pull request. PRs cannot modify this workflow or the script it uses to change how it works. The changes must first be merged into the default branch before having any effect, so this is safe for contributor PRs. ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested [demo.rerun.io](https://demo.rerun.io/pr/3876) (if applicable) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG - [PR Build Summary](https://build.rerun.io/pr/3876) - [Docs preview](https://rerun.io/preview/5b5366f30d2c75c24fc85a437fb6c976807beb57/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/5b5366f30d2c75c24fc85a437fb6c976807beb57/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://ref.rerun.io/dev/bench/) - [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
- Loading branch information