Skip to content

Commit 063c876

Browse files
committed
run jobs only in the original repo
1 parent aeb851a commit 063c876

8 files changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/buildjet.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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
78
strategy:
89
fail-fast: false
910
matrix:

.github/workflows/check-dist.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +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
1617
runs-on: ubuntu-latest
1718
steps:
1819
- uses: actions/checkout@v5

.github/workflows/coverage.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ 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
78
strategy:
89
fail-fast: false
910
matrix:

.github/workflows/git-registry.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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
78
strategy:
89
fail-fast: false
910
matrix:

.github/workflows/install.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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
78
strategy:
89
fail-fast: false
910
matrix:

.github/workflows/simple.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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
78
strategy:
89
fail-fast: false
910
matrix:

.github/workflows/target-dir.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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
78
strategy:
89
fail-fast: false
910
matrix:

.github/workflows/workspaces.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +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
78
strategy:
89
fail-fast: false
910
matrix:
@@ -26,8 +27,10 @@ jobs:
2627
tests
2728
tests/wasm-workspace
2829
29-
- run: cargo check
30+
- name: cargo check (tests)
3031
working-directory: tests
32+
run: cargo check
3133

32-
- run: cargo check
34+
- name: cargo check (tests/wasm-workspace)
3335
working-directory: tests/wasm-workspace
36+
run: cargo check

0 commit comments

Comments
 (0)