add PR Gatekeeper (#12646)
* add PR Gatekeeper * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Carlos Mocholí <carlossmocholi@gmail.com>
This commit is contained in:
parent
03609bc09c
commit
7988351d88
|
@ -54,6 +54,7 @@
|
|||
/tests/helpers/boring_model.py @williamfalcon @tchaton @borda
|
||||
|
||||
/.github/CODEOWNERS @williamfalcon
|
||||
/.github/approve_config.yml @williamfalcon
|
||||
/SECURITY.md @williamfalcon
|
||||
/README.md @williamfalcon @edenlightning @borda
|
||||
/setup.py @williamfalcon @borda
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
approvals:
|
||||
# check will fail if there is no approval
|
||||
minimum: 1
|
||||
groups:
|
||||
- name: GridAI
|
||||
minimum: 1
|
||||
from:
|
||||
- awaelchli
|
||||
- Borda
|
||||
- carmocca
|
||||
- edenlightning
|
||||
- ethanwharris
|
||||
- kaushikb11
|
||||
- krshrimali
|
||||
- rohitgr7
|
||||
- tchaton
|
||||
- williamFalcon
|
|
@ -0,0 +1,25 @@
|
|||
name: 'PR Gatekeeper'
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
[
|
||||
assigned,
|
||||
unassigned,
|
||||
opened,
|
||||
reopened,
|
||||
synchronize,
|
||||
review_requested,
|
||||
review_request_removed
|
||||
]
|
||||
pull_request_review:
|
||||
|
||||
jobs:
|
||||
pr-gatekeeper:
|
||||
name: PR Gatekeeper
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: octodemo/pr-gatekeeper@main
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue