Skip to content

Commit 76955c3

Browse files
author
David Cavazos
committed
only run tests on non-forks
1 parent a21adc0 commit 76955c3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/custard-ci-dev.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
echo "setups=$(./cloud-samples-tools/bin/custard setup-files .github/config/nodejs-dev.jsonc paths.txt)" >> $GITHUB_OUTPUT
6262
6363
nodejs-test:
64+
if: github.event.pull_request && github.event.pull_request.head.repo.fork == false
6465
name: test
6566
needs: affected
6667
runs-on: ubuntu-latest

.github/workflows/custard-ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
- run: ./.github/workflows/utils/region-tags-tests.sh
123123

124124
test:
125+
if: github.event.pull_request && github.event.pull_request.head.repo.fork == false
125126
name: test (legacy)
126127
needs: affected
127128
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)