-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.policy.yml
50 lines (49 loc) · 1.87 KB
/
example.policy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
defaultBranch: "trunk" # most common is main, trunk, and master
archived: false # include archived repos in these rules?
license:
scope: "public" # 'public', private, or all
names: ["mit","agpl"] # license slug as according to GitHub
labels:
- "high-priority"
- "bug"
# the label strategy determines the relationship between the labels listed
# here and how we audit
# available - the repo needs to have the labels listed. Any additional labels are fine
# only - the repo should only have the labels listed. Any additional labels are not okay.
#labelStrategy: "only"
labelStrategy: "available"
# Access permissions allowed. The first example is a regular user and the
# second one is a team example.
# Regular users aren't supported yet and will be ignored.
# permissions can be:
# - read
# - push
# - maintain
# - admin
access:
- permissions:
- user: felicianotech
permission: admin
- user: cloud-unpacked/tech-writers
permission: push
# The access strategy determines the relationship between the permissions listed
# here and how we audit
# available - the repo needs to have the permissions listed. Any additional
# permissions are fine.
# only - the repo should only have the permissions listed. Any additional
# permissions are not okay.
strategy: "available"
- permissions:
- user: felicianotech
permission: maintain
strategy: "only"
tags: [ "hugo" ]
# For CODEOWNERS checks, use a pipe multistring to specify what the code owners file should be.
# Warden will also repo if there is any syntax errors with the file
# only .github/CODEOWNERS is supported right now
# Since inputting tabs into YAML can be weird, use \t instead
# This policy is affected by the `branch` flag.
codeowners:
- content: |
*\t@CircleCI-Public/orb-publishers @CircleCI-Public/images
tags: [ "CircleCI-Public" ]