Skip to content

Commit 17929b5

Browse files
committed
👷 add auto-assign.yml
1 parent 78cf183 commit 17929b5

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/auto-assign.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Auto Assign
2+
on:
3+
issues:
4+
types: [opened]
5+
pull_request:
6+
types: [opened]
7+
8+
permissions:
9+
issues: write
10+
pull-requests: write
11+
12+
jobs:
13+
assign:
14+
runs-on: ubuntu-latest
15+
steps:
16+
# Handle Issues
17+
- if: github.event_name == 'issues'
18+
uses: pozil/auto-assign-issue@v2
19+
with:
20+
assignees: codereport
21+
numOfAssignee: 1
22+
23+
# Handle PRs
24+
- if: github.event_name == 'pull_request'
25+
uses: toshimaru/[email protected]
26+
- if: github.event_name == 'pull_request'
27+
uses: kentaro-m/[email protected]
28+
with:
29+
reviewers: codereport
30+
numberOfReviewers: 1

0 commit comments

Comments
 (0)