[8.2.x] Introduce a gate/check GHA job

This commit is contained in:
Ronny Pfannschmidt 2024-06-18 16:30:54 +02:00 committed by pytest bot
parent 53d2d4717d
commit ce7dca2680
1 changed files with 14 additions and 0 deletions

View File

@ -227,3 +227,17 @@ jobs:
fail_ci_if_error: true
files: ./coverage.xml
verbose: true
check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- build
runs-on: ubuntu-latest
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@198badcb65a1a44528f27d5da555c4be9f12eac6
with:
jobs: ${{ toJSON(needs) }}