fix: merge whitelist
This commit is contained in:
parent
48feb3e244
commit
63b1fd7c3f
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
A handy tool for TAs in JI to handle works through [Gitea](https://focs.ji.sjtu.edu.cn/git/), [Canvas](https://umjicanvas.com/), and [JOJ](https://joj.sjtu.edu.cn/). Joint is related to JI and also this tool which join websites together. Teapot means to hold Gitea, inspired by [@nichujie](https://github.com/nichujie).
|
A handy tool for TAs in JI to handle works through [Gitea](https://focs.ji.sjtu.edu.cn/git/), [Canvas](https://umjicanvas.com/), and [JOJ](https://joj.sjtu.edu.cn/). Joint is related to JI and also this tool which join websites together. Teapot means to hold Gitea, inspired by [@nichujie](https://github.com/nichujie).
|
||||||
|
|
||||||
|
This tool is still under heavy development. The docs may not be updated on time, and all the features are provided with the probability to change.
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
### Setup venv (Optional)
|
### Setup venv (Optional)
|
||||||
|
@ -36,3 +38,7 @@ pytest -svv
|
||||||
- [x] create repos
|
- [x] create repos
|
||||||
- [x] archive all repos of a course
|
- [x] archive all repos of a course
|
||||||
- [x] check whether an issue exists with appointed title
|
- [x] check whether an issue exists with appointed title
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT
|
||||||
|
|
|
@ -231,11 +231,11 @@ class Gitea:
|
||||||
"branch_name": "master",
|
"branch_name": "master",
|
||||||
"dismiss_stale_approvals": True,
|
"dismiss_stale_approvals": True,
|
||||||
"enable_approvals_whitelist": False,
|
"enable_approvals_whitelist": False,
|
||||||
"enable_merge_whitelist": True,
|
"enable_merge_whitelist": False,
|
||||||
"enable_push": True,
|
"enable_push": True,
|
||||||
"enable_push_whitelist": True,
|
"enable_push_whitelist": True,
|
||||||
"enable_status_check": False,
|
"enable_status_check": False,
|
||||||
"merge_whitelist_teams": ["Owners"],
|
"merge_whitelist_teams": [],
|
||||||
"merge_whitelist_usernames": [],
|
"merge_whitelist_usernames": [],
|
||||||
"protected_file_patterns": "",
|
"protected_file_patterns": "",
|
||||||
"push_whitelist_deploy_keys": False,
|
"push_whitelist_deploy_keys": False,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user