Skip to content

Commit

Permalink
ci: Github action to auto-set PR reviewers
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Jun 12, 2024
1 parent 3d79ce1 commit f2e2b51
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: false

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers: # gip-inclusion/admins-le-marche
- madjid-asa
- raphodn
- SebastienReuiller

# A number of reviewers added to the pull request
# Set 0 to add all the reviewers (default: 0)
numberOfReviewers: 0
11 changes: 11 additions & 0 deletions .github/workflows/pr-auto-reviewers-team.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: PR Auto Reviewers Team

on:
pull_request:
types: [opened, ready_for_review] # will not run on drafts

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/[email protected]

0 comments on commit f2e2b51

Please sign in to comment.