From 439136e82789a61c82db0196e7c257a6dab50753 Mon Sep 17 00:00:00 2001 From: Ghislain Bourgeois Date: Tue, 2 May 2023 15:23:11 +0200 Subject: [PATCH] Publish only when all checks passed --- .github/workflows/main.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f1411b3..1938673 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -72,7 +72,11 @@ jobs: publish-charm: name: Publish Charm - needs: integration-test + needs: + - lint-report + - static-analysis + - unit-tests-with-coverage + - integration-test runs-on: ubuntu-22.04 if: ${{ github.ref_name == 'main' }} steps: