Skip to content

Commit a8ce67a

Browse files
committed
Add auto assign workflow
Signed-off-by: PoojaB26 <[email protected]>
1 parent b3057df commit a8ce67a

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/configs/auto-assign.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Set to true to add reviewers to pull requests
2+
addReviewers: true
3+
4+
# Set to true to add assignees to pull requests
5+
addAssignees: false
6+
7+
# A list of reviewers to be added to pull requests (GitHub user name)
8+
reviewers:
9+
- PoojaB26
10+
- leighajarett
11+
12+
# A number of reviewers added to the pull request
13+
# Set 0 to add all the reviewers (default: 0)
14+
numberOfReviewers: 1

.github/workflows/auto-assign-pr.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'Auto Assign PR'
2+
on:
3+
pull_request:
4+
types: [opened, ready_for_review]
5+
6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
10+
jobs:
11+
add-reviews:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: kentaro-m/[email protected]
15+
with:
16+
configuration-path: '.github/configs/auto_assign.yaml'

0 commit comments

Comments
 (0)