Skip to content

Commit b10dd33

Browse files
authored
Merge pull request #162 from thockin/github-assign
Make github assign PRs and issues
2 parents af0016d + 18e8b87 commit b10dd33

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/assign.yaml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Assign
2+
3+
on:
4+
issues:
5+
types: [opened, reopened]
6+
pull_request_target:
7+
types: [opened, reopened]
8+
9+
jobs:
10+
assign:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/github-script@v6
14+
with:
15+
script: |
16+
github.rest.issues.addAssignees({
17+
issue_number: context.issue.number,
18+
owner: context.repo.owner,
19+
repo: context.repo.repo,
20+
assignees: ['thockin', 'pohly']
21+
})

0 commit comments

Comments
 (0)