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:
|
||||
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_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
|
||||
# Skip entire workflow for fork PRs and dependabot PRs (they don't have access to secrets)
|
||||
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:
|
||||
- run: echo "Not a fork PR - proceeding with smoke tests"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user