From 2426764d06905b15d97a0ca2204d93703928c98c Mon Sep 17 00:00:00 2001 From: rbpatt2019 Date: Fri, 4 Jun 2021 13:36:02 +0100 Subject: [PATCH] chore(workflows): Add `needs` for release Prevent release from running if build fails. It is non-sensical to check for release on a failing build. --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 69e84b5..55deae8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -45,6 +45,7 @@ jobs: run: nox -s security release: runs-on: ubuntu-latest + needs: [lint, test, security] steps: - name: Checkout uses: actions/checkout@v2