From c61395f003743f643ddc048d6d27694b89638b3a Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Sun, 31 Oct 2021 23:56:56 +0100 Subject: [PATCH] [PR #6185/15f4411d backport][3.8] Add a no-op checking job to GHA (#6186) (cherry picked from commit 15f4411d3a1e93a6e8c7cdc08cc3a0acee7b04a0) Co-authored-by: Sviatoslav Sydorenko --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d718a36fc83..951a99aa029 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -174,10 +174,22 @@ jobs: # flags: unit # fail_ci_if_error: false + check: # This job does nothing and is only used for the branch protection + needs: + - test + + runs-on: ubuntu-latest + + steps: + - name: Report success of the test matrix + run: >- + print("All's good") + shell: python + pre-deploy: name: Pre-Deploy runs-on: ubuntu-latest - needs: test + needs: check # Run only on pushing a tag if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') steps: