Skip to content

Commit

Permalink
Don't run tests twice when opening a pull request without fork
Browse files Browse the repository at this point in the history
  • Loading branch information
kafeman committed Dec 16, 2023
1 parent bc527b0 commit e20f5a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down

0 comments on commit e20f5a3

Please sign in to comment.