mirror of
https://github.com/goharbor/harbor
synced 2025-04-15 04:41:52 +00:00
Add auto-assignee for new PRs (#17753)
Co-authored-by: OrlinVasilev <ovasilev@vmware.com>
This commit is contained in:
parent
ea27197a82
commit
ac338a2531
24
.github/auto-assignees.yml
vendored
Normal file
24
.github/auto-assignees.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
# This assigns a PR to its author
|
||||
addAssignees: true
|
||||
|
||||
addReviewers: false
|
||||
|
||||
reviewers:
|
||||
- wy65701436
|
||||
- Vad1mo
|
||||
- OrlinVasilev
|
||||
- stonezdj
|
||||
- chlins
|
||||
- zyyw
|
||||
- MinerYang
|
||||
- AllForNothing
|
||||
|
||||
options:
|
||||
ignore_draft: true
|
||||
ignored_keywords:
|
||||
- WIP
|
||||
- wip
|
||||
- DO NOT MERGE
|
||||
enable_group_assignment: true
|
||||
number_of_reviewers: 3
|
18
.github/workflows/auto_assign_prs.yml
vendored
Normal file
18
.github/workflows/auto_assign_prs.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
---
|
||||
name: "Auto Assign"
|
||||
|
||||
# pull_request_target means that this will run on pull requests, but in
|
||||
# the context of the base repo. This should mean PRs from forks are supported.
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, reopened, ready_for_review]
|
||||
|
||||
jobs:
|
||||
# Automatically assigns reviewers and owner
|
||||
add-reviews:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set the author of a PR as the assignee
|
||||
uses: kentaro-m/auto-assign-action@v1.2.4
|
||||
with:
|
||||
configuration-path: ".github/auto-assignees.yml"
|
Loading…
Reference in New Issue
Block a user