From 9cd60e6bbf05ac3bb35167a0744fbccfae865b22 Mon Sep 17 00:00:00 2001 From: Jamil Date: Fri, 6 Oct 2023 09:41:35 -0700 Subject: [PATCH] Add a required-status-checks job (#2263) Prevents us from have to manually add all our checks to the Required status checks settings. --------- Signed-off-by: Jamil Co-authored-by: Andrew Dryga --- .github/workflows/ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 751191254..f53a8b2e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -159,3 +159,18 @@ jobs: - name: Show httpbin logs if: "!cancelled()" run: docker compose logs httpbin + + # Makes managing the required status checks easier, and moves that source of truth to code + # TODO: Use https://registry.terraform.io/providers/integrations/github/latest/docs instead + required-status-checks: + runs-on: ubuntu-latest + needs: + - integration-tests + - elixir + - kotlin + - swift + - rust + - static-analysis + - terraform + steps: + - run: echo "No-op"