workflows/eval: fix compare job not running

The conclusion of the `versions` job propagates from through `eval` to
`compare`, which meant the `compare` job was skipped. No rebuild labels,
no reviewer requests.

Also, we don't want to run eval when `versions` runs, but fails.
This commit is contained in:
Wolfgang Walther
2025-08-12 10:58:45 +02:00
parent d7ca0f8e4a
commit 267d5cdf64

View File

@@ -57,7 +57,7 @@ jobs:
eval:
runs-on: ubuntu-24.04-arm
needs: versions
if: ${{ !cancelled() }}
if: ${{ !cancelled() && !failure() }}
strategy:
fail-fast: false
matrix:
@@ -197,7 +197,7 @@ jobs:
compare:
runs-on: ubuntu-24.04-arm
needs: [eval]
if: needs.eval.outputs.targetRunId
if: needs.eval.outputs.targetRunId && !cancelled() && !failure()
permissions:
statuses: write
timeout-minutes: 5