Skip to content

Commit dc65bb6

Browse files
Merge pull request #10315 from webknjaz/maintenance/gha-check
Introduce a gate/check GHA job
2 parents 807d16a + 30ce631 commit dc65bb6

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,3 +227,17 @@ jobs:
227227
fail_ci_if_error: true
228228
files: ./coverage.xml
229229
verbose: true
230+
231+
check: # This job does nothing and is only used for the branch protection
232+
if: always()
233+
234+
needs:
235+
- build
236+
237+
runs-on: ubuntu-latest
238+
239+
steps:
240+
- name: Decide whether the needed jobs succeeded or failed
241+
uses: re-actors/alls-green@198badcb65a1a44528f27d5da555c4be9f12eac6
242+
with:
243+
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)