Skip to content

Commit

Permalink
Merge pull request #162 from thockin/github-assign
Browse files Browse the repository at this point in the history
Make github assign PRs and issues
  • Loading branch information
pohly committed Nov 21, 2022
2 parents af0016d + 18e8b87 commit b10dd33
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/assign.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Assign

on:
issues:
types: [opened, reopened]
pull_request_target:
types: [opened, reopened]

jobs:
assign:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addAssignees({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
assignees: ['thockin', 'pohly']
})

0 comments on commit b10dd33

Please sign in to comment.