File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111GITHUB_FULL_REPO = f"{ GITHUB_USER } /{ GITHUB_REPO } "
1212
13- # which CI providers are enabled
14- CI_MODULES = ("cirrus" ,)
15-
1613# Some settings are different for our production server
1714PRODUCTION = False
1815
2118COMMITFEST_SHARED_SECRET = "INSECURE"
2219COMMITFEST_POST_URL = "http://localhost:8007/cfbot_notify/"
2320
21+ # If we receive "push" notifications matching these settings, we'll
22+ # automatically mirror them to branches of the same name in our output repo (if
23+ # configured above).
24+ GITHUB_MIRROR_USER = "postgres"
25+ GITHUB_MIRROR_REPO = "postgres"
26+ GITHUB_MIRROR_FULL_REPO = f"{ GITHUB_MIRROR_USER } /{ GITHUB_MIRROR_REPO } "
27+ GITHUB_MIRROR_BRANCH_PATTERN = r"^(master|REL_[0-9]+_STABLE)$"
28+
29+ GITHUB_TOKENS = {
30+ # "postgres/postgres" : "token_goes_here",
31+ # ...
32+ }
33+
34+ # Paths that we don't allow patches to modify, to prevent privilege escalation
35+ # of Github Actions.
36+ PUSH_BLOCKED_PATTERN = r"^\.github/workflows/.*$"
37+
2438# http settings (be polite by identifying ourselves and limited rate)
2539# SLOW_FETCH_SLEEP = 1.0
2640# SLOW_FETCH_SLEEP = 0.1
You can’t perform that action at this time.
0 commit comments