Skip to content

Commit dbe17fc

Browse files
committed
feat: auto assigner
1 parent 789bc76 commit dbe17fc

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pr-actions.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: PR Actions
2+
3+
on:
4+
pull_request:
5+
types: [opened, reopened]
6+
7+
jobs:
8+
assign-pr-owner:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: peter-evans/find-comment@v1
13+
id: find-comment
14+
with:
15+
issue-number: ${{ github.event.pull_request.number }}
16+
comment-author: ${{ github.actor }}
17+
body-includes: "#"
18+
- name: Assign PR owner
19+
uses: peter-evans/assignee@v2
20+
with:
21+
assignee: ${{ github.actor }}

0 commit comments

Comments
 (0)