zaquestion / lab

Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab
https://zaquestion.github.io/lab
Creative Commons Zero v1.0 Universal
1.11k stars 102 forks source link

Handle approval rules #874

Open prarit opened 1 year ago

prarit commented 1 year ago

Add the ability to add, delete, and list merge request approval rules.

Closes #835

Signed-off-by: Prarit Bhargava prarit@redhat.com

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 8.25% and project coverage change: -0.82 :warning:

Comparison is base (2bbd110) 55.56% compared to head (04dfcfe) 54.74%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #874 +/- ## ========================================== - Coverage 55.56% 54.74% -0.82% ========================================== Files 82 83 +1 Lines 5977 6081 +104 ========================================== + Hits 3321 3329 +8 - Misses 2367 2464 +97 + Partials 289 288 -1 ``` | [Impacted Files](https://app.codecov.io/gh/zaquestion/lab/pull/874?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zaq%3F+Wiedmann) | Coverage Δ | | |---|---|---| | [internal/gitlab/gitlab.go](https://app.codecov.io/gh/zaquestion/lab/pull/874?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zaq%3F+Wiedmann#diff-aW50ZXJuYWwvZ2l0bGFiL2dpdGxhYi5nbw==) | `8.09% <0.00%> (-0.24%)` | :arrow_down: | | [cmd/mr\_approval\_rules.go](https://app.codecov.io/gh/zaquestion/lab/pull/874?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zaq%3F+Wiedmann#diff-Y21kL21yX2FwcHJvdmFsX3J1bGVzLmdv) | `11.53% <11.53%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/zaquestion/lab/pull/874/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Zaq%3F+Wiedmann)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.