diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c05370c08e..8b6f47bd35 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -522,10 +522,13 @@ jobs: testing-done: runs-on: ubuntu-latest needs: [ test-database, test-pure-perl, test-remainder, test-webservices ] + if: failure() + # This job gets skipped on successful completion of the dependent jobs + # Skipped jobs are interpreted as 'success' condition in branch protection rules... steps: - - name: Done + - name: Failed run: | - echo "DONE!" + exit 1 build-dev: if: github.event.pull_request.merged == true