fix(gitea): remote drone in master branch protection (#46)
This commit is contained in:
parent
7efd5259c9
commit
599a07d41f
|
@ -260,7 +260,7 @@ class Gitea:
|
||||||
"require_signed_commits": False,
|
"require_signed_commits": False,
|
||||||
"required_approvals": max(student_count - 1, 0),
|
"required_approvals": max(student_count - 1, 0),
|
||||||
"enable_status_check": True,
|
"enable_status_check": True,
|
||||||
"status_check_contexts": ["continuous-integration/drone/pr"],
|
"status_check_contexts": ["Run JOJ3 on Push / run (push)"],
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
except ApiException as e:
|
except ApiException as e:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user