From 3644caa8d3242719911408cef9f6dea36a934e95 Mon Sep 17 00:00:00 2001 From: ayonious Date: Wed, 11 Nov 2026 13:09:28 +0100 Subject: [PATCH] ci: skip Codecov upload on Dependabot runs --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a304da6..ac98bbc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,8 +33,10 @@ jobs: run: mvn clean package - name: Upload coverage to Codecov + # Dependabot runs can't read secrets; coverage is uploaded after merge + if: github.actor != 'dependabot[bot]' uses: codecov/codecov-action@v7 with: - file: target/site/jacoco/jacoco.xml + files: target/site/jacoco/jacoco.xml fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} \ No newline at end of file