only run fork on branch PRs (#5461)

This commit is contained in:
Michael Neale
2025-10-31 04:33:51 +11:00
committed by GitHub
parent 9fcbb70759
commit 04cf52e861
+8
View File
@@ -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: