Skip to content

fix: only trigger deploy preview for cursor agent PRs#85

Merged
anthhub merged 1 commit intomainfrom
fix/deploy-preview-cursor-only
Mar 5, 2026
Merged

fix: only trigger deploy preview for cursor agent PRs#85
anthhub merged 1 commit intomainfrom
fix/deploy-preview-cursor-only

Conversation

@anthhub
Copy link
Copy Markdown

@anthhub anthhub commented Mar 5, 2026

Summary

  • Filter deploy-api-preview and deploy-preview jobs to only run when PR branch starts with cursor/
  • Human-created PRs (e.g. db-dev-pr) will skip preview deployment, saving CI resources
  • Cleanup job remains unchanged — still runs for all closed PRs

🤖 Generated with Claude Code

Filter deploy jobs to only run when the PR branch starts with
'cursor/', so human-created PRs skip the preview deployment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 5, 2026

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Free

Run ID: 8f7b1136-5195-4e79-9d89-68ff148852b7

📥 Commits

Reviewing files that changed from the base of the PR and between 7811a7d and 31e6e93.

📒 Files selected for processing (1)
  • .github/workflows/deploy-preview.yml

📝 Walkthrough

Walkthrough

GitHub Actions workflow conditions were updated to restrict execution of deployment preview jobs to pull requests with head references starting with "cursor/", effectively filtering which branches trigger these deployment jobs.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/deploy-preview.yml
Added startsWith(github.head_ref, 'cursor/') condition to deploy-api-preview and deploy-preview jobs to gate execution by PR branch naming convention.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 A filter so fine, a prefix so neat,
Only "cursor/" branches shall compete,
Deploy when you're meant to, no more, no less—
The workflow now guards with selective finesse! ✨


Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login.

Comment @coderabbitai help to get the list of available commands and usage tips.

@anthhub anthhub merged commit 83fda03 into main Mar 5, 2026
2 checks passed
lefarcen added a commit that referenced this pull request Mar 19, 2026
Visual design restoration from design-system PR #85:
- macOS-style Switch component (3 sizes + loading)
- Synced CSS design tokens
- Rewritten Home page (first-run + operational states)
- Settings provider panel with Enabled/Providers grouping
- Skills card Switch integration
- Sidebar nav refinements
- Caveat font for nexu alpha heading

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants