···160 # Do NOT change the name of this job, otherwise the rule will not catch it anymore.
161 # This would prevent all PRs from merging.
162 name: no PR failures
163- if: ${{ cancelled() || failure() }}
0000164 runs-on: ubuntu-24.04-arm
165 steps:
166 - run: exit 1
···160 # Do NOT change the name of this job, otherwise the rule will not catch it anymore.
161 # This would prevent all PRs from merging.
162 name: no PR failures
163+ # A single job is "cancelled" when it hits its timeout. This is not the same
164+ # as "skipped", which happens when the `if` condition doesn't apply.
165+ # The "cancelled()" function only checks the whole workflow, but not individual
166+ # jobs.
167+ if: ${{ failure() || contains(needs.*.result, 'cancelled') }}
168 runs-on: ubuntu-24.04-arm
169 steps:
170 - run: exit 1
···105 # See: https://github.com/systemd/systemd/issues/9911
106 # This hack does the job but takes down the whole interface to do it.
107 script = ''
108- ip link delete ${name}
109 networkctl reload
110 '';
111 };
···105 # See: https://github.com/systemd/systemd/issues/9911
106 # This hack does the job but takes down the whole interface to do it.
107 script = ''
108+ ip link delete ${name} || :
109 networkctl reload
110 '';
111 };