From 0efbbaa97a5cd02ffecc711812185a837772d604 Mon Sep 17 00:00:00 2001 From: Axel Howind Date: Sun, 3 Aug 2025 12:19:03 +0200 Subject: [PATCH] run sonar when merging pull requests into master --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: