From 099c8fb4bf66a2776893a0184ed23db5f0f3391d Mon Sep 17 00:00:00 2001 From: Jonathan Moore Date: Thu, 9 Apr 2026 14:09:29 -0500 Subject: [PATCH 1/2] Add path filtering to Shopify theme workflows - PR preview workflow now only runs when theme files change - Deploy workflow only runs when theme files change (manual dispatch still unrestricted) - Prevents unnecessary CI runs and Shopify theme creation for docs-only changes - Follows same pattern as docs-deploy.yml path filtering Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/deploy.yml | 7 +++++++ .github/workflows/pr-preview.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 573662e..70dab72 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,13 @@ on: push: branches: - main + paths: + - 'theme/**' + - 'vite.config.js' + - 'jsconfig.json' + - 'package.json' + - 'pnpm-lock.yaml' + - '.github/workflows/deploy.yml' workflow_dispatch: jobs: diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 96ba055..54af309 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -4,6 +4,13 @@ on: branches: - main types: [opened, synchronize, reopened] + paths: + - 'theme/**' + - 'vite.config.js' + - 'jsconfig.json' + - 'package.json' + - 'pnpm-lock.yaml' + - '.github/workflows/pr-preview.yml' concurrency: group: pr-preview-${{ github.event.pull_request.number }} From c1709b8c1404afca6e1819a5b82072e492cc8ba2 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Date: Thu, 9 Apr 2026 14:09:41 -0500 Subject: [PATCH 2/2] Test: Minor docs change to verify Netlify trigger and PR preview skip --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 040c680..6717fa7 100644 --- a/docs/index.md +++ b/docs/index.md @@ -28,5 +28,5 @@ features: - title: Claude Code Skills details: Five built-in skills for Claude Code that provide Liquid reference, accessibility patterns, coding standards, component creation workflows, and translation management. - title: Coding Standards - details: Comprehensive JavaScript, CSS, and accessibility standards with a three-phase compliance audit. Tailwind utility-first, AbortController lifecycle, WCAG 2.2. + details: Comprehensive JavaScript, CSS, and accessibility standards with a three-phase compliance audit. Tailwind utility-first, AbortController lifecycle, WCAG 2.2. Optimized GitHub Actions workflows with path filtering for efficient CI/CD. ---