mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
only run fork on branch PRs (#5461)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user