Skip to content

Commit c3bcee9

Browse files
committed
only check repo
1 parent 063c876 commit c3bcee9

8 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/buildjet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
buildjet:
7-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
7+
if: github.event.pull_request.head.repo.full_name == github.repository
88
strategy:
99
fail-fast: false
1010
matrix:

.github/workflows/check-dist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313

1414
jobs:
1515
check-dist:
16-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
16+
if: github.event.pull_request.head.repo.full_name == github.repository
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v5

.github/workflows/coverage.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on: [push, pull_request]
44

55
jobs:
66
coverage:
7-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
7+
if: github.event.pull_request.head.repo.full_name == github.repository
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: [ubuntu-latest, macos-latest, windows-latest]
11+
os: [ubuntu-latest]
1212

1313
name: Test `cargo-llvm-cov` on ${{ matrix.os }}
1414
runs-on: ${{ matrix.os }}
@@ -19,7 +19,9 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v5
2121

22-
- run: rustup toolchain install stable --profile minimal --component llvm-tools-preview --no-self-update
22+
- uses: actions-rust-lang/setup-rust-toolchain@v1
23+
with:
24+
components: llvm-tools-preview
2325

2426
- uses: taiki-e/install-action@cargo-llvm-cov
2527

.github/workflows/git-registry.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
git-registry:
7-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
7+
if: github.event.pull_request.head.repo.full_name == github.repository
88
strategy:
99
fail-fast: false
1010
matrix:

.github/workflows/install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
install:
7-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
7+
if: github.event.pull_request.head.repo.full_name == github.repository
88
strategy:
99
fail-fast: false
1010
matrix:

.github/workflows/simple.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
simple:
7-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
7+
if: github.event.pull_request.head.repo.full_name == github.repository
88
strategy:
99
fail-fast: false
1010
matrix:

.github/workflows/target-dir.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
target-dir:
7-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
7+
if: github.event.pull_request.head.repo.full_name == github.repository
88
strategy:
99
fail-fast: false
1010
matrix:

.github/workflows/workspaces.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: [push, pull_request]
44

55
jobs:
66
workspaces:
7-
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
7+
if: github.event.pull_request.head.repo.full_name == github.repository
88
strategy:
99
fail-fast: false
1010
matrix:

0 commit comments

Comments
 (0)