Skip to content

Commit 859918c

Browse files
author
Silvia-Wachira
committed
update branch protection by making relevant changes
1 parent 286593f commit 859918c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ccos/norm/branch_protections.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ EXEMPT_REPOSITORIES:
1212
# exempted for bot pushes to default branch
1313
- quantifying:
1414
exempt_users:
15-
-bot1
16-
-bot2
15+
# - bot1
16+
# - bot2
1717
# special purpose repo
1818
- sre-wiki-js
1919
# special purpose repo

normalize_repos.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def update_branch_protection(repo):
111111
exempt_repositories = config["EXEMPT_REPOSITORIES"]
112112
required_status_check_map = config["REQUIRED_STATUS_CHECK_MAP"]
113113

114-
exempt_users = config.get["exempt_users, {}).get(repo.name, [])"]
114+
exempt_users = config.get("EXEMP_USERS", {}).get(repo.name, [])
115115

116116
if repo.name not in exempt_repositories and is_engineering_project(repo):
117117
LOG.info(f"{repo.name}: updating branch protections")

0 commit comments

Comments
 (0)