diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 21f9c6a..1913db9 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -38,4 +38,14 @@ jobs: name: Publish needs: - build - uses: ./.github/workflows/publish.yml \ No newline at end of file + uses: ./.github/workflows/publish.yml + + ci-ok: + name: ci-ok + if: ${{ always() }} + needs: [analyze, test, build] + runs-on: ubuntu-latest + steps: + - name: Fail unless every required job succeeded + if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }} + run: exit 1