Skip to content

Commit

Permalink
ci: skip int and sample tests from forks (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon authored Aug 2, 2024
1 parent eefa48b commit 141b728
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ jobs:
system-tests:
name: System tests
# run integration tests on all builds except pull requests from forks or dependabot
if: |
github.event_name != 'pull_request' ||
(github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
strategy:
matrix:
node-version: [v14.x, v16.x, v20.x]
Expand Down Expand Up @@ -265,6 +269,10 @@ jobs:
sample-tests:
name: Sample tests
# run sample tests on all builds except pull requests from forks or dependabot
if: |
github.event_name != 'pull_request' ||
(github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]')
permissions:
contents: read
id-token: write
Expand Down

0 comments on commit 141b728

Please sign in to comment.