Abstract away the required-checks feature (#28)

This commit is contained in:
Patrick Stevens
2024-07-12 21:59:17 +01:00
committed by GitHub
parent d387763fdb
commit 5d5417c1da
2 changed files with 3 additions and 45 deletions

View File

@@ -183,11 +183,9 @@ jobs:
needs: [check-dotnet-format, check-nix-format, build, build-nix, linkcheck, flake-check, analyzers, nuget-pack, expected-pack, github-release-plugin-dry-run]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check job statuses
env:
RESULTS: ${{ toJSON(needs) }}
run: python .github/workflows/required_checks.py
- uses: Smaug123/all-required-checks-complete-action@05b40a8c47ef0b175ea326e9abb09802cb67b44e
with:
needs-context: ${{ toJSON(needs) }}
attestation:
runs-on: ubuntu-latest