Skip to content

chore: run react-email binary test only on relevant changes#276

Merged
felipefreitag merged 1 commit intomainfrom
ffv/ci-react-email-binary-trigger
Apr 16, 2026
Merged

chore: run react-email binary test only on relevant changes#276
felipefreitag merged 1 commit intomainfrom
ffv/ci-react-email-binary-trigger

Conversation

@felipefreitag
Copy link
Copy Markdown
Contributor

@felipefreitag felipefreitag commented Apr 16, 2026

Summary by cubic

Run the “Test react-email in binaries” workflow only on manual dispatch or PRs that touch the react-email bundling layer, esbuild plugins, dependencies, or the workflow file. This cuts unnecessary CI runs.

Triggers limited to:

  • src/lib/react-email*.ts
  • src/lib/esbuild/**
  • package.json
  • pnpm-lock.yaml
  • .github/workflows/test-react-email-binary.yml

Written for commit 4a67774. Summary will update on new commits.

@felipefreitag felipefreitag requested a review from vcapretz April 16, 2026 17:51
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/test-react-email-binary.yml">

<violation number="1" location=".github/workflows/test-react-email-binary.yml:6">
P2: The paths filter is too narrow for the react-email binary path; it misses runtime dependencies like `output.ts`, `spinner.ts`, and `tty.ts`, so relevant changes can skip this test.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

Comment thread .github/workflows/test-react-email-binary.yml
Change the workflow from running on every PR to running on manual
dispatch or PRs that touch the react-email bundling layer, esbuild
plugins, dependencies, or the workflow file itself.
@felipefreitag felipefreitag force-pushed the ffv/ci-react-email-binary-trigger branch from 3af284d to 4a67774 Compare April 16, 2026 20:30
@felipefreitag felipefreitag merged commit 23ca505 into main Apr 16, 2026
10 checks passed
@felipefreitag felipefreitag deleted the ffv/ci-react-email-binary-trigger branch April 16, 2026 20:34
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