Skip credentialed previews for Dependabot - #30
Conversation
|
Warning Review limit reached
Next review available in: 10 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
Comment |
There was a problem hiding this comment.
Pull request overview
Updates the central reusable GitHub Actions workflows so Dependabot-authored pull requests still run required quality gates, while skipping the Cloudflare credentialed candidate preview that cannot succeed without Actions secrets.
Changes:
- Add an
if:guard topreview-candidatein the Cloudflare PR reusable workflow to skip previews fordependabot[bot]. - Advance internal reusable-workflow
uses:pins to the revision containing the updated behavior. - Add a regression test ensuring quality is not gated on Dependabot while previews are.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tests/workflows.test.mjs | Adds regression coverage for the quality/preview split on Dependabot PRs. |
| .github/workflows/cloudflare-pr.yml | Skips credentialed candidate previews for Dependabot-authored PRs while preserving quality. |
| .github/workflows/cloudflare-main.yml | Advances internal reusable-workflow pins. |
| .github/workflows/cloudflare-release.yml | Advances internal reusable-workflow pins. |
| .github/workflows/npm-main.yml | Advances internal reusable-workflow pins. |
| .github/workflows/npm-pr.yml | Advances internal reusable-workflow pins. |
| .github/workflows/npm-release.yml | Advances internal reusable-workflow pins. |
| .github/workflows/phala-deploy.yml | Advances internal reusable-workflow pins. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| (github.event.pull_request.draft == false && | ||
| github.event.pull_request.head.repo.full_name == github.repository) | ||
| uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@097d5108730cb869d1b83db72bef5949a16f8037 # v1.3.4 | ||
| uses: burnt-labs/github-workflows/.github/workflows/required-quality.yml@0edf0e43d8657f05fa08591a69f5a2d38a7f0dd3 # v1.3.4 |
What changed
Root cause
Dependabot pull request workflows do not receive the repository's Cloudflare credentials. The reusable PR workflow still attempted
wrangler versions upload, so otherwise-valid dependency updates failed after all quality gates passed.Impact
Dependency pull requests continue to validate code and dependency policy, but no longer attempt a credentialed deployment preview. Human-authored pull requests retain the existing preview behavior.
Validation
pnpm install --frozen-lockfilepnpm run check(Prettier, 63 Node tests, actionlint)