Skip to content

Commit 3f1850c

Browse files
committed
chore(actions): auto-assign PR author
Co-Authored-by: Pascal Repond <[email protected]>
1 parent 792e82f commit 3f1850c

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/auto_assign.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Set to true to add reviewers to pull requests
2+
addReviewers: false
3+
4+
# Set to true to add assignees to pull requests
5+
addAssignees: author
6+
7+
runOnDraft: true
8+
9+
# A number of reviewers added to the pull request
10+
# Set 0 to add all the reviewers (default: 0)
11+
# numberOfReviewers: 1
12+
13+
# A number of assignees to add to the pull request
14+
# Set to 0 to add all of the assignees.
15+
# Uses numberOfReviewers if unset.
16+
# numberOfAssignees: 2
17+
18+
19+
# A list of keywords to be skipped the process that add reviewers if pull requests include it
20+
# skipKeywords:
21+
# - wip

.github/workflows/auto_assign.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: 'Auto Assign'
2+
on:
3+
pull_request_target:
4+
types: [opened, ready_for_review]
5+
6+
jobs:
7+
add-reviews:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: kentaro-m/[email protected]

0 commit comments

Comments
 (0)