Skip to content

Commit 375dfc7

Browse files
felickzGeekMasher
authored andcommitted
conditional run test
1 parent abc0bd4 commit 375dfc7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
npm ci
2727
npm run test
2828
29-
# test action works running from the graph
29+
# Exclude running this on external forks due to permissions issue
3030
test-action:
31+
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
3132
runs-on: ubuntu-latest
3233
steps:
3334
- uses: actions/checkout@v4
3435
- uses: ./
3536
with:
3637
filePath: "test"
37-

0 commit comments

Comments
 (0)