Skip to content

Commit 0be696d

Browse files
Merge pull request #1 from s-yonkov-yonkov/pr-auto-assign
add configs
2 parents 4dc5d84 + 7256a6d commit 0be696d

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.github/auto-assign.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
addAssignees: false # Disable assigning assignees
2+
addReviewers: true # Enable assigning reviewers
3+
4+
reviewers: # List of potential reviewers
5+
- IvanBorislavovDimitrov
6+
- theghost5800
7+
- ikasarov
8+
- vkalapov
9+
- s-yonkov-yonkov
10+
- Yavor16
11+
12+
numberOfReviewers: 2 # Assign exactly 2 reviewers
13+
randomReviewer: true # Randomly select the reviewers

.github/workflows/auto-assign.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Auto Assign
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened] # Trigger the action when a PR is opened or reopened
6+
7+
jobs:
8+
auto-assign:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v3
13+
14+
- name: Auto-assign reviewers and assignees
15+
uses: kentaro-m/[email protected]
16+
with:
17+
config: '.github/auto_assign.yml' # Path to the configuration file

0 commit comments

Comments
 (0)