mirror of
https://github.com/jazzband/.github.git
synced 2026-03-16 22:20:32 +00:00
Refactor yml.
This commit is contained in:
parent
7e87e1a19f
commit
6f4955a609
1 changed files with 18 additions and 22 deletions
|
|
@ -1,29 +1,25 @@
|
|||
version: 3
|
||||
|
||||
meta:
|
||||
standard-conditions: &standard-conditions
|
||||
- >
|
||||
contains_any_fnmatches(files, [
|
||||
".github/workflows/*",
|
||||
".pullapprove.yml",
|
||||
"tox.ini",
|
||||
"CODE_OF_CONDUCT.md",
|
||||
])
|
||||
pullapprove_conditions: *standard-conditions
|
||||
groups:
|
||||
github-workflows:
|
||||
conditions:
|
||||
- "'.github/workflows/*' in files"
|
||||
reviewers:
|
||||
teams:
|
||||
- roadies
|
||||
reviews:
|
||||
required: 1
|
||||
|
||||
pullapprove-config:
|
||||
conditions:
|
||||
- "'.pullapprove.yml' in files"
|
||||
reviewers:
|
||||
teams:
|
||||
- roadies
|
||||
reviews:
|
||||
required: 1
|
||||
|
||||
tox-ini:
|
||||
conditions:
|
||||
- "'tox.ini' in files"
|
||||
roadies:
|
||||
conditions: *standard-conditions
|
||||
reviewers:
|
||||
teams:
|
||||
- roadies
|
||||
reviews:
|
||||
required: 1
|
||||
labels:
|
||||
pending: "roadies"
|
||||
notifications:
|
||||
- when: pullapprove.group.requested_reviewers
|
||||
comment: |
|
||||
{{ event.group }} review requested from {{ text_list(event.requested_reviewers.mentions, "and") }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue