🔨 add auto assign workflow
This commit is contained in:
parent
dff959135e
commit
ec86ba9059
2 changed files with 40 additions and 0 deletions
26
.github/auto-assign.yaml
vendored
Normal file
26
.github/auto-assign.yaml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Set to true to add reviewers to PRs
|
||||||
|
addReviewers: true
|
||||||
|
|
||||||
|
# Set to 'author' to add PR's author as a assignee
|
||||||
|
addAssignees: author
|
||||||
|
|
||||||
|
# A list of reviewers to be added to PRs (GitHub user name)
|
||||||
|
reviewers:
|
||||||
|
- zztkm
|
||||||
|
|
||||||
|
# A number of reviewers added to the PR
|
||||||
|
# Set 0 to add all the reviewers (default: 0)
|
||||||
|
numberOfReviewers: 1
|
||||||
|
|
||||||
|
# A list of assignees, overrides reviewers if set
|
||||||
|
assignees:
|
||||||
|
- zztkm
|
||||||
|
|
||||||
|
# A number of assignees to add to the PRs
|
||||||
|
# Set to 0 to add all of the assignees.
|
||||||
|
# Uses numberOfReviewers if unset.
|
||||||
|
numberOfAssignees: 0
|
||||||
|
|
||||||
|
# A list of keywords to be skipped the process if PR's title include it
|
||||||
|
skipKeywords:
|
||||||
|
- wip
|
14
.github/workflows/auto-assign.yaml
vendored
Normal file
14
.github/workflows/auto-assign.yaml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: Auto Assign
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
pull_request:
|
||||||
|
types: [opened]
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: bubkoo/auto-assign@v1
|
||||||
|
with:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CONFIG_FILE: .github/auto-assign.yaml
|
Loading…
Add table
Reference in a new issue