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

index 0cc5f866e8e1c30c7e05ec30d30a5c97067ddce4..693f0c603204665bb40f53807e07a810f72f128a 100644 (file)
@@ -55,3 +55,15 @@ jobs:
         env:
           GITHUB_CONTEXT: ${{ toJson(github) }}
         run: echo "$GITHUB_CONTEXT"
+
+  # 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) }}