Skip to content

Commit 6216937

Browse files
committed
ci: don't run coverage workflow on forks
1 parent 1289a0c commit 6216937

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/test-coverage.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions: read-all
1111

1212
jobs:
1313
test-coverage:
14+
if: ${{ github.event_name == 'pull_request' || !github.event.repository.fork }}
1415
runs-on: ubuntu-latest
1516
env:
1617
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
@@ -62,6 +63,7 @@ jobs:
6263
name: coverage-test-failures
6364
path: ${{ runner.temp }}/package
6465
rust-coverage:
66+
if: ${{ github.event_name == 'pull_request' || !github.event.repository.fork }}
6567
runs-on: ubuntu-latest
6668
steps:
6769
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)