From d7951c27cdb1438c87386c56ad0053f2a0ffeaf5 Mon Sep 17 00:00:00 2001 From: Yannik Tausch Date: Tue, 22 Jul 2025 17:39:23 +0200 Subject: [PATCH] test: Skip tests with secrets on fork PRs (#216) --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9670cbe..748bc32 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -467,6 +467,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Move pixi.toml @@ -485,6 +486,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Move pixi.toml