Skip to content

fix #343 - feat: enable netlify preview CI for feature branches - #360

Open
fantonangeli wants to merge 4 commits into
open-workflow-specification:mainfrom
fantonangeli:issue-343-feat-enable-netlify-preview-CI-for-feature-branches
Open

fix #343 - feat: enable netlify preview CI for feature branches#360
fantonangeli wants to merge 4 commits into
open-workflow-specification:mainfrom
fantonangeli:issue-343-feat-enable-netlify-preview-CI-for-feature-branches

Conversation

@fantonangeli

Copy link
Copy Markdown
Member

Closes #343

Action required

@ricardozanini

Description

Currently PRs against feature branches don't have the Netlify previews.
We need to update the configuration to enable them.

Motivation

Reviewing UI and UX changes is much easier when a live preview is available directly from the PR.

Proposed Implementation

  • Update netlify.toml
  • Update Deploy configuration from Netlify panel

Tests using my fork

Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Signed-off-by: fantonangeli <fabrizio.antonangeli@gmail.com>
Copilot AI lite review requested due to automatic review settings August 26, 2026 12:01
@netlify

netlify Bot commented Aug 26, 2026

Copy link
Copy Markdown

Deploy Preview for openworkflow-editor canceled.

Name Link
🔨 Latest commit 8dbf49b
🔍 Latest deploy log https://app.netlify.com/projects/openworkflow-editor/deploys/6a8ed5b722a46700081900c2

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Enables Netlify previews for PRs targeting feature branches by updating the netlify.toml build ignore logic to compute an appropriate git base reference for pnpm-based change detection.

Changes:

  • Update Netlify ignore script to fetch either the PR synthetic merge ref (refs/pull/<id>/merge) or the deployed branch ref.
  • Replace the hard-coded origin/main comparison with a dynamically computed BASE_REF used by pnpm workspace filtering.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread netlify.toml
Comment thread netlify.toml
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.

feat: enable netlify preview CI for feature branches

3 participants