diff --git a/.github/workflows/cd-release.yml b/.github/workflows/cd-release.yml index 54e0a53..83f36da 100644 --- a/.github/workflows/cd-release.yml +++ b/.github/workflows/cd-release.yml @@ -17,14 +17,8 @@ jobs: uses: ./.github/workflows/ci-maven.yml secrets: inherit - gates: - needs: ci - if: success() - uses: ./.github/workflows/ci-gates.yml - secrets: inherit - release: - needs: gates + needs: ci uses: ./.github/workflows/cd-deploy.yml secrets: inherit with: diff --git a/.github/workflows/quality.yml b/.github/workflows/quality.yml new file mode 100644 index 0000000..ace2c9a --- /dev/null +++ b/.github/workflows/quality.yml @@ -0,0 +1,13 @@ +name: SonarQube + +on: + push: + branches: + - master + pull_request: + types: [opened, synchronize, reopened] + +jobs: + gates: + uses: ./.github/workflows/ci-gates.yml + secrets: inherit \ No newline at end of file