Commit Graph

19 Commits

Author SHA1 Message Date
Akhilesh Pandey
a2cea52155 feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List (#2640)
* feat: [CODE-2327]: add usergroup change to rebase api
* Merge branch 'main' into akp/CODE-2327
* feat: [CODE-2327]: wrap error
* feat: [CODE-2327]: move resolver inside bypass.go and update tests
* feat: [CODE-2327]: newline
* feat: [CODE-2327]: update wire
* Merge remote-tracking branch 'origin' into akp/CODE-2327
* feat: [CODE-2327]: update tests
* feat: [CODE-2327]: fix build
* feat: [CODE-2327]: merge main
* feat: [CODE-2327]: add and update unit tests
* feat: [CODE-2327]: fix
* feat: [CODE-2312]: introduce parser and enclosing method
* Apply suggestion from code review
* feat: [CODE-2327]: annotate error
* Merge branch 'main' into akp/CODE-2327
* feat: [CODE-2327]: usergroup resolver via controller
* feat: [CODE-2312]: update interface in protection
* feat: [CODE-2312]: export and update deduplication use
* feat: [CODE-2327]: Branch Rules: Allow Group bypass.go
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-09-11 08:04:31 +00:00
Akhilesh Pandey
905d027cc3 feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List (#2636)
* feat: [CODE-2312]: annotate error
* feat: [CODE-2312]: name change and todo removal
* feat: [CODE-2312]: Annotate errors
* feat: [CODE-2232]: Branch Rules: UserGroup support: Create and List
2024-09-09 14:41:03 +00:00
Marko Gacesa
f8f1453de1 add new API: list status checks for a pullreq (#1042) 2024-02-22 10:39:25 +00:00
Marko Gacesa
25d282073d return user info for rule bypass users (#867) 2023-12-05 19:04:04 +00:00
Marko Gacesa
2c618b33b3 add bypassable to rule violation (#802) 2023-11-15 14:37:52 +00:00
Marko Gacesa
98dc67fc71 return allowed merge methods for merge dry run (#781) 2023-11-08 18:55:25 +00:00
Marko Gacesa
941bc7a0fd allow optional rule bypass (#764) 2023-11-03 18:31:10 +00:00
Johannes Batzill
b0e519b571 [WIP] Move from space_owner to repo_admin for protection rules (#745) 2023-10-30 22:35:52 +00:00
Marko Gacesa
1a727b8be1 refactor of protection package (#734) 2023-10-27 14:06:09 +00:00
Marko Gacesa
4e3a43efdd add unit tests for the protection package (#729) 2023-10-27 08:05:26 +00:00
Abhinav Singh
adbe2f6f97 feat: [CODE-967]: codeowners service e2e (#695) 2023-10-26 16:50:59 +00:00
Marko Gacesa
02b36d0f73 return want&got for rule violations (#704) 2023-10-26 07:57:52 +00:00
Marko Gacesa
fda8fa733d fix branch.lifecycle rule violation codes (#719) 2023-10-25 12:16:47 +00:00
Marko Gacesa
266b3a4fa1 lifecycle protection rules (#715) 2023-10-24 20:20:20 +00:00
Marko Gacesa
7ab52c1764 add protection to prevent direct push (#712) 2023-10-24 14:22:06 +00:00
Marko Gacesa
7bbeca2750 status checks: use DB-layer list status checks results func (#692) 2023-10-19 05:43:36 +00:00
Marko Gacesa
c0849b7b36 remove branch rule: all status checks must succeed (#691) 2023-10-18 16:33:55 +00:00
Marko Gacesa
6139a0bbb2 rule to autodelete the branch after PR merge (#681) 2023-10-17 11:09:09 +00:00
Marko Gacesa
419fe92dde add branch protection: DB and API layer (#671) 2023-10-16 11:33:00 +00:00