Skip to content

Commit

Permalink
Publish only when all checks passed
Browse files Browse the repository at this point in the history
  • Loading branch information
ghislainbourgeois committed May 2, 2023
1 parent 02f8317 commit 439136e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 439136e

Please sign in to comment.