ci(playwright): skip E2E tests for Dependabot PRs#518
Conversation
Dependabot PRs do not have access to repository secrets (AZURE_API_KEY, AZURE_API_BASE, AZURE_API_VERSION) required by the LLM-dependent E2E tests for database schema loading. This causes all Database Connection and Chat Feature tests to fail with 'Failed to load database schema'. Skip the Playwright job for Dependabot-authored PRs while preserving full coverage on push events (merge to staging/main) where secrets are available. Unit tests, pylint, dependency review, and spellcheck still run for all PRs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Completed Working on "Code Review"✅ Code review complete. No issues found - all changes look good! ✅ ✅ Workflow completed successfully. |
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. Scanned FilesNone |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughAdds a job-level Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
🚅 Deployed to the QueryWeaver-pr-518 environment in queryweaver
|
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1869c10 to
b3c598e
Compare
Summary
Skip Playwright E2E tests for Dependabot-authored PRs since repository secrets (Azure OpenAI API keys) are not available in Dependabot PR runs.
Changes
ifcondition to thetestjob in.github/workflows/playwright.ymlgithub.event_name != 'pull_request' || github.event.pull_request.user.login != 'dependabot[bot]'Testing
pull_requestevents fromdependabot[bot], preserves push events and regular PRsMemory / Performance Impact
N/A — CI workflow change only.
Related Issues
Fixes persistent Playwright failures on all Dependabot PRs:
Summary by CodeRabbit
Chores
Documentation