diff --git a/.github/workflows/scheduled-updates.yml b/.github/workflows/scheduled-updates.yml index a8e7a9f4d..bf7b233d4 100644 --- a/.github/workflows/scheduled-updates.yml +++ b/.github/workflows/scheduled-updates.yml @@ -105,4 +105,17 @@ jobs: automation l10n firmware - hardware \ No newline at end of file + 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