Make required status check actually required (#182)

This commit is contained in:
Patrick Stevens
2024-07-12 11:59:42 +01:00
committed by GitHub
parent 18309becbd
commit 362542d5ee
2 changed files with 46 additions and 1 deletions

View File

@@ -218,10 +218,15 @@ jobs:
run: sh .github/workflows/tag.sh
all-required-checks-complete:
if: ${{ always() }}
needs: [check-dotnet-format, check-nix-format, check-accurate-generations, build, build-nix, linkcheck, flake-check, analyzers, nuget-pack, expected-pack, github-release-plugin-dry-run]
runs-on: ubuntu-latest
steps:
- run: echo "All required checks complete."
- uses: actions/checkout@v4
- name: Check job statuses
env:
RESULTS: ${{ toJSON(needs) }}
run: python .github/workflows/required_checks.py
attestation-attribute:
runs-on: ubuntu-latest