]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
👷 Add alls-green for test-redistribute (#1055)
authorSebastián Ramírez <tiangolo@gmail.com>
Thu, 8 Aug 2024 23:16:56 +0000 (18:16 -0500)
committerGitHub <noreply@github.com>
Thu, 8 Aug 2024 23:16:56 +0000 (23:16 +0000)
.github/workflows/test-redistribute.yml

index dc86da69c0df5e96b74c2ca0e4697640b53d55a8..45e22bc4f39c375f7158b64eddfd497f1c0b75d6 100644 (file)
@@ -51,3 +51,15 @@ jobs:
         run: |
           cd dist
           pip wheel --no-deps sqlmodel*.tar.gz
+
+  # https://github.com/marketplace/actions/alls-green#why
+  test-redistribute-alls-green:  # This job does nothing and is only used for the branch protection
+    if: always()
+    needs:
+      - test-redistribute
+    runs-on: ubuntu-latest
+    steps:
+      - name: Decide whether the needed jobs succeeded or failed
+        uses: re-actors/alls-green@release/v1
+        with:
+          jobs: ${{ toJSON(needs) }}