🧪 Integrate a unified alls-green GHA status

This commit is contained in:
Sviatoslav Sydorenko 2025-01-24 03:30:02 +01:00
parent cebc64f283
commit e0449d218c
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 9345E8FEA89CA455

View file

@ -16,11 +16,28 @@ on: # yamllint disable-line rule:truthy
jobs:
smoke-test:
uses: ./.github/workflows/reusable-smoke-test.yml
check: # This job does nothing and is only used for the branch protection
if: always()
needs:
- smoke-test
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
build-and-push:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
needs:
- smoke-test
- check
timeout-minutes: 10
steps:
- uses: actions/checkout@v4