Skip to content

Commit 60bff19

Browse files
committed
string comparison fix
1 parent ee512da commit 60bff19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/auto-merge-queue.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ jobs:
176176
177177
echo " $job: $job_status"
178178
179-
if [[ "$job_status" == "success" ]]; then
179+
if [[ "$job_status" == "success" ]] || [[ "$job_status" == "SUCCESS" ]]; then
180180
continue
181-
elif [[ "$job_status" == "failure" ]] || [[ "$job_status" == "cancelled" ]] || [[ "$job_status" == "timed_out" ]]; then
181+
elif [[ "$job_status" == "failure" ]] || [[ "$job_status" == "FAILURE" ]] || [[ "$job_status" == "cancelled" ]] || [[ "$job_status" == "CANCELLED" ]] || [[ "$job_status" == "timed_out" ]] || [[ "$job_status" == "TIMED_OUT" ]]; then
182182
any_failure=true
183183
break
184184
else

0 commit comments

Comments
 (0)