Skip to content

Commit c073db4

Browse files
authored
Update assign-users.yml
1 parent c991066 commit c073db4

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

.github/workflows/assign-users.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
name: Issue assignment
2-
3-
on:
4-
issues:
5-
types: [opened]
6-
7-
jobs:
8-
auto-assign:
9-
runs-on: ubuntu-latest
10-
permissions:
11-
issues: write
12-
steps:
13-
- name: 'Auto-assign issue'
14-
uses: pozil/auto-assign-issue@v2
15-
with:
16-
assignees: 'abelberhane'
17-
numOfAssignee: 2
18-
allowSelfAssign: false
1+
reviewers:
2+
- name: always_user_name # Always assign this user
3+
- name: path_user_name # Assign this user if the path matches
4+
paths:
5+
- path/to/file
6+
- path/**
7+
- name: team_name # Assign this team
8+
team: true
9+
ignore:
10+
authors: # Ignore PR if these authors contain PR's author
11+
- author_name
12+
titles: # Ignore PR if PR's title contains these words
13+
- wip

0 commit comments

Comments
 (0)