Skip to content

Commit b55b869

Browse files
committed
ci: à l'ouverture du PR, auto-assign les reviewers & l'auteur
1 parent de0d1f0 commit b55b869

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/auto_assign.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Configuration file for https://github.com/kentaro-m/auto-assign-action
2+
3+
# Set to true to add reviewers to pull requests
4+
addReviewers: true
5+
6+
# A list of reviewers to be added to pull requests (GitHub user name)
7+
reviewers:
8+
- paulRbr
9+
- raphodn
10+
11+
# A number of reviewers added to the pull request
12+
# Set 0 to add all the reviewers (default: 0)
13+
numberOfReviewers: 0
14+
15+
# Set to true to add assignees to pull requests
16+
# Set to 'author' to set the PR creator as the assignee
17+
addAssignees: author
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: PR Auto Reviewers (team) & Assignee (author)
2+
3+
on:
4+
pull_request:
5+
types: [opened, ready_for_review, reopened] # will not run on drafts
6+
7+
jobs:
8+
add-reviews:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: kentaro-m/auto-assign-action@v2.0.0

0 commit comments

Comments
 (0)