diff --git a/.github/workflows/coverage.yaml b/.github/workflows/coverage.yaml index 08e2e34f66..4bc12371a3 100644 --- a/.github/workflows/coverage.yaml +++ b/.github/workflows/coverage.yaml @@ -9,6 +9,7 @@ on: jobs: coverage: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} runs-on: ubuntu-latest env: CARGO_TERM_COLOR: always @@ -28,6 +29,7 @@ jobs: files: lcov.info fail_ci_if_error: true check: + if: ${{ github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.repository }} name: Lint/Format Check runs-on: ubuntu-latest steps: