Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: add more condition for sonarcloud and codecov to prevent fail fr…
…om forked repo
  • Loading branch information
wislertt committed Dec 1, 2025
commit 9807cdb9fcc3e35aa731db697f9d34d17fa5f215
4 changes: 2 additions & 2 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,13 @@ jobs:
run: make test

- name: SonarQube Scan
if: matrix.python-version == env.TARGET_PYTHON_VERSION
if: matrix.python-version == env.TARGET_PYTHON_VERSION && github.event.pull_request.head.repo.full_name == github.repository
uses: SonarSource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602 # v6.0.0
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Upload coverage reports to Codecov
if: matrix.python-version == env.TARGET_PYTHON_VERSION
if: matrix.python-version == env.TARGET_PYTHON_VERSION && github.event.pull_request.head.repo.full_name == github.repository
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
with:
fail_ci_if_error: true
Expand Down
Loading