only run fork on branch PRs (#5461)
This commit is contained in:
@@ -13,8 +13,16 @@ on:
|
|||||||
name: Live Provider Tests
|
name: Live Provider Tests
|
||||||
|
|
||||||
jobs:
|
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:
|
changes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
needs: check-fork
|
||||||
outputs:
|
outputs:
|
||||||
code: ${{ steps.filter.outputs.code }}
|
code: ${{ steps.filter.outputs.code }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user