commit | b9b7f0dad8ab00a48cc262d1d38339a1dd11c7c5 | [log] [tgz] |
---|---|---|
author | Yun Peng <pcloudy@google.com> | Wed Feb 28 14:58:29 2024 +0100 |
committer | GitHub <noreply@github.com> | Wed Feb 28 14:58:29 2024 +0100 |
tree | af7f3077f920c0816d52157877a2d683ea2cb29f | |
parent | dee7f0e141895b472bb668cb8f3952c5bb206aeb [diff] |
Add bcr-pr-review-approver (#1887) This PR implements a GitHub Action that helps review and approve BCR PRs. - The GitHub Action should be triggered on schedule instead of by `pull_request_review` event, because there is no way to obtain a GitHub token that has write permissions if the PR is from a forked repo. (Related https://github.com/orgs/community/discussions/26651) - The GitHub Action goes throw all open PRs to review them one by one. - The GitHub Action approves a PR if the latest non-merge commit is approved by at least one maintainer for each modified module. Auto-merging the PR is for now disabled until we confirm this is fine, instead, `@bazelbuild/bcr-maintainers` will be notified to take a final look.