Updating logic for auto BB MRs
Updating logic from state=opened
for MRs to state=merged
. Syntax must have updated in recent Gitlab updates
❯ curl "https://repo1.dso.mil/api/v4/projects/11640/merge_requests?source_branch=istio-init-exclude-group&state=opened" | jq '.[].iid'
[]
❯ curl "https://repo1.dso.mil/api/v4/projects/11640/merge_requests?source_branch=istio-init-exclude-group&state=merged" | jq '.[].iid'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4190 100 4190 0 0 12696 0 --:--:-- --:--:-- --:--:-- 12696
82