Skip to content

Run the shop workflow on branch pushes only - #145

Merged
collin-thomas merged 1 commit into
mainfrom
shop-skip-tag-pushes
Nov 12, 2026
Merged

collin-thomas merged 1 commit into
mainfrom
shop-skip-tag-pushes

Conversation

@collin-thomas

Copy link
Copy Markdown
Collaborator

What and why

Each release tag push also triggered the Shop workflow, because its push trigger had no branches filter. The shop validated fine, then deploy-preview failed without running a step: the shop-preview environment admits branches, not tags. The rc.12 release left five red Shop runs this way, one per tag.

The push trigger now has branches: ["**"], as ci.yml already does, so tag pushes no longer start the workflow. Branch pushes, including main, and pull requests behave as before.

Checklist

  • A test fails without this change and passes with it (no test covers which refs trigger the workflow; the proof is the next release leaving no Shop runs on its tags)
  • yarn check:format passes for the changed file
  • Docs: none needed
  • CHANGELOG.md: no entry, CI only

Validation

  • shop/tests/workflows.test.ts and shop/tests/production.test.ts: 42 passed
  • pkg/e2e/scripts/ci-deploy.test.ts: 74 passed
  • The workflow parses as YAML with push.branches set to **

🤖 Generated with Claude Code

A release tag push also matched the push trigger, so every release
started a shop run per tag whose deploy-preview job failed: the
shop-preview environment admits branches, not tags. The rc.12 release
left five such red runs. CI already limits its push trigger this way.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Shop preview: https://bascik-shop-pr-145.collin-inbox.workers.dev

Stripe sandbox payments are enabled. Paid orders create unconfirmed Printful drafts only. Production confirmation and customer email are blocked in test mode. No live domain changes.

@collin-thomas
collin-thomas merged commit e60c598 into main Nov 12, 2026
16 checks passed
@collin-thomas
collin-thomas deleted the shop-skip-tag-pushes branch November 12, 2026 16:30

This branch was successfully deployed

1 active deployment
shop-preview — 543e1258 Deployed Nov 12, 2026 by collin-thomas via deploy-preview #143
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.

1 participant