Skip to content

Commit

Permalink
ci: requiring two org members to approve for PR merge; preventing in …
Browse files Browse the repository at this point in the history
…org sock puppet accounts
  • Loading branch information
Darien-Lin committed Jan 17, 2025
1 parent dfb2b7f commit 958bf3b
Show file tree
Hide file tree
Showing 2 changed files with 264 additions and 0 deletions.
233 changes: 233 additions & 0 deletions .github/workflows/members.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,233 @@
[
{
"login": "aaron-prindle"
},
{
"login": "akulkapoor-google"
},
{
"login": "alicejli"
},
{
"login": "alphanota"
},
{
"login": "bendory"
},
{
"login": "blakeli0"
},
{
"login": "bobcallaway"
},
{
"login": "bobcatfish"
},
{
"login": "briandealwis"
},
{
"login": "burkedavison"
},
{
"login": "Camila-B"
},
{
"login": "chanseokoh"
},
{
"login": "ChrisGe4"
},
{
"login": "ChristopherFry"
},
{
"login": "chuangw6"
},
{
"login": "container-tools-bot"
},
{
"login": "cvgw"
},
{
"login": "dangazineu"
},
{
"login": "Darien-Lin"
},
{
"login": "diegomarquezp"
},
{
"login": "distroless-bot"
},
{
"login": "donmccasland"
},
{
"login": "droot"
},
{
"login": "ericzzzzzzz"
},
{
"login": "etefera"
},
{
"login": "gcp-runtimes-bot"
},
{
"login": "google-admin"
},
{
"login": "google-ospo-team"
},
{
"login": "googlebot"
},
{
"login": "gsquared94"
},
{
"login": "haiyanmeng"
},
{
"login": "henrybell"
},
{
"login": "inferno-chromium"
},
{
"login": "janetkuo"
},
{
"login": "jduncan-rva"
},
{
"login": "JeromeJu"
},
{
"login": "jinseopkim0"
},
{
"login": "JoeWang1127"
},
{
"login": "johnbelamaric"
},
{
"login": "joycebrum"
},
{
"login": "justinsb"
},
{
"login": "karlkfi"
},
{
"login": "katiexzhang"
},
{
"login": "kmaydeo"
},
{
"login": "kokoro-team"
},
{
"login": "ldetmer"
},
{
"login": "linde"
},
{
"login": "loosebazooka"
},
{
"login": "loudej"
},
{
"login": "louisjimenez"
},
{
"login": "lqiu96"
},
{
"login": "maggieneterval"
},
{
"login": "MarlonGamez"
},
{
"login": "matthewmichihara"
},
{
"login": "mattsanta"
},
{
"login": "medyagh"
},
{
"login": "meltsufin"
},
{
"login": "menahyouyeah"
},
{
"login": "mikebz"
},
{
"login": "minikube-bot"
},
{
"login": "mortent"
},
{
"login": "mpeddada1"
},
{
"login": "nan-yu"
},
{
"login": "natasha41575"
},
{
"login": "plumpy"
},
{
"login": "renzodavid9"
},
{
"login": "rquitales"
},
{
"login": "sdowell"
},
{
"login": "seans3"
},
{
"login": "spencersugarman"
},
{
"login": "spowelljr"
},
{
"login": "suztomo"
},
{
"login": "SvenMM"
},
{
"login": "tiffanny29631"
},
{
"login": "Yongxuanzhang"
},
{
"login": "yuwenma"
},
{
"login": "zhumin8"
}
]
31 changes: 31 additions & 0 deletions .github/workflows/multi-approvers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'multi-approvers'

on:
pull_request:
types:
- 'opened'
- 'edited'
- 'reopened'
- 'synchronize'
- 'ready_for_review'
- 'review_requested'
- 'review_request_removed'
pull_request_review:
types:
- 'submitted'
- 'dismissed'

permissions:
actions: 'write'
contents: 'read'
pull-requests: 'read'

concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
multi-approvers:
uses: 'abcxyz/pkg/.github/workflows/multi-approvers.yml@main'
with:
org-members-path: '.github/workflows/members.json'

0 comments on commit 958bf3b

Please sign in to comment.