fix: merge whitelist

This commit is contained in:
张泊明518370910136 2021-10-21 12:54:53 +08:00
parent 48feb3e244
commit 63b1fd7c3f
No known key found for this signature in database
GPG Key ID: FBEF5DE8B9F4C629
2 changed files with 8 additions and 2 deletions

View File

@ -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).
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
### Setup venv (Optional)
@ -36,3 +38,7 @@ pytest -svv
- [x] create repos
- [x] archive all repos of a course
- [x] check whether an issue exists with appointed title
## License
MIT

View File

@ -231,11 +231,11 @@ class Gitea:
"branch_name": "master",
"dismiss_stale_approvals": True,
"enable_approvals_whitelist": False,
"enable_merge_whitelist": True,
"enable_merge_whitelist": False,
"enable_push": True,
"enable_push_whitelist": True,
"enable_status_check": False,
"merge_whitelist_teams": ["Owners"],
"merge_whitelist_teams": [],
"merge_whitelist_usernames": [],
"protected_file_patterns": "",
"push_whitelist_deploy_keys": False,