mirror of https://github.com/Icinga/L10n.git
bin/autoresolve: Still attempt a merge if the API doesn't know its possible
This commit is contained in:
parent
620bb8b25b
commit
5b52c870e6
bin
|
@ -153,8 +153,8 @@ for (( i = 0; i < $TOTAL_PULL_REQUESTS; i++ )); do
|
|||
PR_NUMBER=$(read_json_var "$PULL_REQUESTS" .[$i].node.number)
|
||||
|
||||
PR_MERGEABLE=$(read_json_var "$PULL_REQUESTS" .[$i].node.mergeable)
|
||||
if [[ "$PR_MERGEABLE" != "CONFLICTING" ]]; then
|
||||
echo "Ignoring pull request #$PR_NUMBER. No conflicts detected ($PR_MERGEABLE)"
|
||||
if [[ "$PR_MERGEABLE" != "CONFLICTING" ]] && [[ "$PR_MERGEABLE" != "UNKNOWN" ]]; then
|
||||
echo "Ignoring pull request #$PR_NUMBER. No conflicts detected"
|
||||
continue
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue