Closed herbetom closed 3 years ago
Does it make sense to fallback to the raw value and not map values where in == out
? This has the added benefit to be more accepting of new states.
Yes, that makes perfect sense. It's just more "complicated" to implement.
@fleaz Could this work?
Hey @herbetom, sorry for the delay.
This looks good to me, and also thanks to @mweinelt to the requested change.
Can you change your PR to target the development
branch, than I will merge this :+1:
I changed the target branch. We will see if it works :man_shrugging:
LGTM :+1:
Since Gitlab 13.2 an approve and unapprove Action is available in Core: https://gitlab.com/help/user/project/merge_requests/merge_request_approvals#optional-approvals-core-only
The intent with this PR is to only use the Value form the HookAction if a value is found. Whether this is really what happens must be tested by someone. I have no environment in which I could easily test this.