Skip to content

Commit

Permalink
Make github assign PRs and issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Nov 20, 2022
1 parent af0016d commit 18e8b87
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 18e8b87

Please sign in to comment.