ci: check workflow status on scheduled updates (#3774)

This commit is contained in:
James Rich 2025-11-21 07:42:44 -06:00 committed by GitHub
parent 20d62e056f
commit 7069706293
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -105,4 +105,17 @@ jobs:
automation
l10n
firmware
hardware
hardware
check-workflow-status:
name: Check Workflow Status
runs-on: ubuntu-latest
needs:
- update_assets,
if: always()
steps:
- name: Check Workflow Status
if: "contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')"
run: |
echo "One of the dependent jobs failed or was cancelled. Failing the workflow."
exit 1