diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index a1a664510..367a2cf7d 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -27,7 +27,7 @@ jobs: needs: build runs-on: ubuntu-latest # Only run SonarCloud on the main branch - if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master' || github.base_ref == 'master' steps: - uses: actions/checkout@v4 with: