From 04cf52e861d0fbce68809e152b961f38bfbbadef Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Fri, 31 Oct 2025 04:33:51 +1100 Subject: [PATCH] only run fork on branch PRs (#5461) --- .github/workflows/pr-smoke-test.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/pr-smoke-test.yml b/.github/workflows/pr-smoke-test.yml index 84a0e69647..8fee5945ed 100644 --- a/.github/workflows/pr-smoke-test.yml +++ b/.github/workflows/pr-smoke-test.yml @@ -13,8 +13,16 @@ on: name: Live Provider Tests jobs: + check-fork: + runs-on: ubuntu-latest + # Skip entire workflow for PRs from forks (they don't have access to secrets) + if: github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository + steps: + - run: echo "Not a fork PR - proceeding with smoke tests" + changes: runs-on: ubuntu-latest + needs: check-fork outputs: code: ${{ steps.filter.outputs.code }} steps: