-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbranch_protections.py
52 lines (51 loc) · 1.34 KB
/
branch_protections.py
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
51
52
EXEMPT_REPOSITORIES = [
# non-engineering repo
"australian-chapter",
# non-engineering repo
"cc-cert-core",
# non-engineering repo
"cc-cert-edu",
# non-engineering repo
"cc-cert-gov",
# non-engineering repo
"cc-cert-lib",
# exempted to allow transifex updates
"cc.i18n",
# exempted to allow community maintainer to self-merge PRs
"ccsearch-browser-extension",
# exempted for bot pushes to default branch
"creativecommons.github.io-source",
# exempted for bot pushes to default branch
"creativecommons.github.io",
# non-engineering repo
"global-network-strategy",
# non-engineering repo
"network-platforms",
# non-engineering repo
"sre-wiki-js",
# non-engineering repo
"tech-support",
]
REQUIRED_STATUS_CHECK_MAP = {
"cccatalog-api": ["Style", "Tests"],
"cccatalog-frontend": ["Run CI tests"],
"creativecommons.github.io-source": ["continuous-integration/travis-ci"],
"fonts": [
"Lint",
"Unit tests",
"Build",
"netlify/cc-fonts/deploy-preview",
],
"vocabulary": [
"Lint",
"Unit tests",
"Build",
"netlify/cc-vocabulary/deploy-preview",
],
"vue-vocabulary": [
"Lint",
"Unit tests",
"Build",
"netlify/cc-vue-vocabulary/deploy-preview",
],
}