Marko Gaćeša
1fd081199e
feat: [CODE-2087]: fix rule check for force update push ( #2728 )
...
* fix rule check for force update push
2024-09-24 12:52:08 +00:00
Marko Gaćeša
7c83c5520e
feat: [CODE-2385]: add fast-forward merge ( #2718 )
...
* add fast-forward merge
2024-09-23 11:34:19 +00:00
Darko Draskovic
060d977433
Add two new settings to branch rules: block merge and force push to branch ( #2656 )
...
* Fix rule naming, warn log and use switch case for ref update
* Fix tests
* Refactor isForcePush to remove post-receive only related msg
* Add two new settings to branch rules: block merge and force push to branch
2024-09-12 14:17:13 +00:00
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
Johannes Batzill
77b01718bd
feat: [CODE-2179]: Add error message to protection rule violation error responses ( #2665 )
2024-09-06 18:54:15 +00:00
Johannes Batzill
6da5c93706
Only allow admin to bypass rules if bypassing is allowed ( #2047 )
2024-05-17 22:32:35 +00:00
Johannes Batzill
a690fa4ebc
small fixes ( #1232 )
2024-04-19 01:36:03 +00:00
Johannes Batzill
c5383940bd
Integrate approvals.RequireLatestcommit to merge dryrun ( #1183 )
2024-04-04 22:39:23 +00:00
Johannes Batzill
dc7b3bc79a
[Rules] Expose extra Branch.PullReq
fields on merge DryRyn as required by UI ( #1117 )
2024-03-13 23:37:10 +00:00
Marko Gacesa
f8f1453de1
add new API: list status checks for a pullreq ( #1042 )
2024-02-22 10:39:25 +00:00
Darko Draskovic
6f270eb3ae
Add rule to block PR merge if changes are requested by reviewer ( #1054 )
2024-02-21 16:32:02 +00:00
Johannes Batzill
adf2046a94
[MISC] Move UID
to Identifier
to match Harness Standards ( #992 )
2024-01-29 23:29:53 +00:00
Marko Gacesa
25d282073d
return user info for rule bypass users ( #867 )
2023-12-05 19:04:04 +00:00
Abhinav Singh
04566e1cf9
feat: support codewoners usrgrp ( #826 )
2023-11-30 04:02:28 +00:00
Marko Gacesa
703a645e85
update min approval count rule message ( #833 )
2023-11-28 18:47:21 +00:00
Marko Gacesa
2c618b33b3
add bypassable to rule violation ( #802 )
2023-11-15 14:37:52 +00:00
Johannes Batzill
972c7d6c67
[BugBash] Rule Descriptions & Reordering, UID Validation, Improved Error Messages ( #790 )
2023-11-11 00:59:17 +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
Marko Gacesa
f0d87f4437
empty pattern matches all ( #743 )
2023-10-31 07:33:12 +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
fcc8c0be73
use dedicated DB query to fetch all repo rules ( #702 )
2023-10-20 11:06:33 +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
63d1565a51
fix no protection rule violations blocking PR merge ( #680 )
2023-10-16 13:53:40 +00:00
Marko Gacesa
419fe92dde
add branch protection: DB and API layer ( #671 )
2023-10-16 11:33:00 +00:00