ci: add alls-green action for single required check (#1882)

This commit is contained in:
Marcelo Trylesinski 2026-01-16 12:14:50 +01:00 • committed by GitHub
commit 2b4c7ebc61
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

24
.github/workflows/main.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: CI
on:
push:
branches: ["main", "v1.x"]
tags: ["v*.*.*"]
pull_request:
branches: ["main", "v1.x"]
permissions:
contents: read
jobs:
checks:
uses: ./.github/workflows/shared.yml
all-green:
if: always()
needs: [checks]
runs-on: ubuntu-latest
steps:
- uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
with:
jobs: ${{ toJSON(needs) }}