...
Code Block | ||
---|---|---|
| ||
shared:
- custom-groups:
- MyDevs:
- @PeterTheHacker
- @PeterTheJavaExpert
- ann@scala.lang
- @@JSDevs
workflows:
- name: Add Code Owners
conditions:
- or:
- destination=main
- destination~=release/*
- source~!=hotfix/*
actions:
- add-codeowners:
auto-unapprove-on-change: true
assignment-routing:
random: 2
custom-groups:
MyDevs: *MyDevs
rules: |
* @PeterTheHacker
*.java @PeterTheJavaExpert
*.js @PaulTheJSGuru @@JSExperts
"a/path with spaces/*" docs@example.com
!ci/playgrounds.yml
src/components/**/*.js @@MyDevs
Check(@@MyDevs >= 2) |
...