From 64b1f964d7866e71e754af3b7415a1a717332ecb Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Mon, 27 Sep 2021 15:53:14 +0100 Subject: [PATCH] Make deploy dependent on tests passing --- .github/workflows/pipeline.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index a80670def..c93cc75a1 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -6,6 +6,8 @@ on: - main pull_request: +concurrency: 'sandbox' + defaults: run: shell: bash @@ -15,7 +17,6 @@ jobs: test: name: Test runs-on: ubuntu-latest - concurrency: 'sandbox' services: postgres: @@ -75,7 +76,7 @@ jobs: runs-on: ubuntu-latest environment: 'sandbox' - concurrency: 'sandbox' + needs: test steps: - name: Checkout code