Skip the smoke tests for dependabot PRs (#6337)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -18,8 +18,8 @@ name: Live Provider Tests
|
|||||||
jobs:
|
jobs:
|
||||||
check-fork:
|
check-fork:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# Skip entire workflow for PRs from forks (they don't have access to secrets)
|
# Skip entire workflow for fork PRs and dependabot PRs (they don't have access to secrets)
|
||||||
if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
|
if: github.actor != 'dependabot[bot]' && (github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
|
||||||
steps:
|
steps:
|
||||||
- run: echo "Not a fork PR - proceeding with smoke tests"
|
- run: echo "Not a fork PR - proceeding with smoke tests"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user