Skip to content

Commit c7ee297

Browse files
committed
fix: accept both workflow names for upstream eval
1 parent 19e6c06 commit c7ee297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/review.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
timeout=${{ inputs.upstream-eval-timeout }}
103103
timeout=${timeout%.*}
104104
while [[ $(( $(date +%s) - $start )) -lt $timeout ]]; do
105-
status=$(gh pr -R nixos/nixpkgs checks ${{ inputs.pr }} --json 'state,name,workflow' -q '.[]|select(.name=="Process" and .workflow==".github/workflows/eval.yml")|.state')
105+
status=$(gh pr -R nixos/nixpkgs checks ${{ inputs.pr }} --json 'state,name,workflow' -q '.[]|select(.name=="Process" and (.workflow=="Eval" or .workflow==".github/workflows/eval.yml"))|.state')
106106
if [[ -z "$status" ]]; then echo "Failed to find eval check"
107107
else echo "Eval status: ${status}"; fi
108108
if [[ "$status" = "SUCCESS" ]]; then break; fi

0 commit comments

Comments
 (0)