diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e06bf00700..6aa1ba66b9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -4,7 +4,7 @@ on: push: branches: - main - pull_request: + pull_request_target: jobs: coverage: @@ -26,7 +26,7 @@ jobs: with: maven-version: 3.9.9 - name: Generate coverage with JaCoCo - run: mvn -V --color always -ntp clean verify -Pci --file plugin/pom.xml + run: mvn -V --color always -ntp clean verify -Pci - name: Upload coverage to Codecov uses: codecov/codecov-action@v4.6.0 with: