1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
netbox-community-netbox/.github/workflows/auto-assign-issue.yml
2024-04-04 09:20:20 -04:00

25 lines
700 B
YAML

# auto-assign-issue (https://github.com/marketplace/actions/auto-assign-issue)
name: Issue assignment
on:
issues:
types: [opened]
permissions:
issues: write
jobs:
auto-assign:
runs-on: ubuntu-latest
steps:
- uses: pozil/auto-assign-issue@v1
if: >
contains(github.event.issue.labels.*.name, 'type: bug') ||
contains(github.event.issue.labels.*.name, 'type: feature') ||
contains(github.event.issue.labels.*.name, 'type: documentation')
with:
# Weighted assignments
assignees: arthanson:3, jeffgdotorg:3, jeremystretch:3, abhi1693, DanSheps
numOfAssignee: 1
abortIfPreviousAssignees: true