Skip to content

Commit

Permalink
Use necojackarc/auto-request-review action to request reviews from no…
Browse files Browse the repository at this point in the history
…n-maintainers (#5896)

Use this action which should not require the reviewers github team to
have owner permissions

Signed-off-by: Sunjay Bhatia <[email protected]>
  • Loading branch information
sunjayBhatia authored Dec 6, 2023
1 parent cf8fb1c commit 9d71639
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/reviewers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
reviewers:
defaults:
- team:contour-reviewers

options:
ignore_draft: true
number_of_reviewers: 1
14 changes: 14 additions & 0 deletions .github/workflows/request-reviews.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Request Reviews

on:
pull_request_target:
types: [opened, ready_for_review, reopened]

jobs:
request-reviews:
runs-on: ubuntu-latest
steps:
- uses: necojackarc/[email protected]
with:
token: ${{ secrets.PAT_FOR_AUTO_REQUEST_REVIEW }}
config: .github/reviewers.yaml

0 comments on commit 9d71639

Please sign in to comment.