From 97c8ae90f7996c3d6039ce137905e87987c1be98 Mon Sep 17 00:00:00 2001
From: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Date: Tue, 20 Jul 2021 11:41:19 +0100
Subject: [PATCH] Add a github actions job recording success of other jobs.
 (#10430)

---
 .github/workflows/tests.yml | 12 ++++++++++++
 changelog.d/10430.misc      |  1 +
 2 files changed, 13 insertions(+)
 create mode 100644 changelog.d/10430.misc

diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 505bac1308..cef4439477 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -344,3 +344,15 @@ jobs:
         env:
           COMPLEMENT_BASE_IMAGE: complement-synapse:latest
         working-directory: complement
+
+  # a job which marks all the other jobs as complete, thus allowing PRs to be merged.
+  tests-done:
+    needs:
+      - trial
+      - trial-olddeps
+      - sytest
+      - portdb
+      - complement
+    runs-on: ubuntu-latest
+    steps:
+      - run: "true"    
\ No newline at end of file
diff --git a/changelog.d/10430.misc b/changelog.d/10430.misc
new file mode 100644
index 0000000000..a017cf4ac9
--- /dev/null
+++ b/changelog.d/10430.misc
@@ -0,0 +1 @@
+Add a github actions job recording success of other jobs.
-- 
GitLab