From 211551378a75e1a1debed251e9ab468e61fcb4e6 Mon Sep 17 00:00:00 2001 From: Jack Wotherspoon Date: Fri, 2 Aug 2024 12:25:46 -0400 Subject: [PATCH] ci: skip integration tests on fork PRs (#2282) --- .github/workflows/tests.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 4ac45a7e4..196e23f94 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -45,6 +45,10 @@ jobs: integration: name: integration 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]') runs-on: ${{ matrix.os }} strategy: matrix: