Skip to content

Ci/promotion based pipeline - #9

Open
devfreeguy wants to merge 2 commits into
mainfrom
ci/promotion-based-pipeline
Open

devfreeguy wants to merge 2 commits into
mainfrom
ci/promotion-based-pipeline

Conversation

@devfreeguy

Copy link
Copy Markdown
Owner

No description provided.

devfreeguy and others added 2 commits August 30, 2026 23:49
Adds ci-dev.yml: on push to dev, typecheck+test, then a build-only
(no registry push) validation of the api/indexer/migrator Docker
images, then fast-forward dev onto staging for review.

Removes the now-redundant verify job from deploy-production.yml --
that validation already happened on dev before the change reached
staging/main via review.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Corrects the previous ci-dev.yml, which fast-forward-pushed dev onto
staging directly (git push origin HEAD:staging) -- that bypasses any
ruleset placed on staging and doesn't work at all once staging requires
a PR.

ci.yml now runs verify + build (api/indexer/migrator, both platforms,
push:false) on:
  - pull_request into dev, so the dev ruleset has a real pre-merge
    status check to require
  - push to dev or staging, so the resulting commit already carries
    passing checks before the next promotion PR is opened against it

A single `promote` job (push-triggered only) opens a dev->staging or
staging->main PR via `gh pr create` -- never a push. It skips cleanly
if an equivalent PR is already open or there's nothing to promote, and
fails loudly if the target branch has diverged (commits not reachable
from the source), rather than silently opening a PR that could hide
that divergence. No workflow in this repo pushes to dev, staging, or
main; only humans merging PRs advance those branches.

deploy-production.yml is unchanged except for a comment update -- it
already only triggers on push to main and never re-runs verify/build.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tagwise-docs Ready Ready Preview Aug 30, 2026 11:12pm
tagwise-identity-protocol-landing Ready Ready Preview Aug 30, 2026 11:12pm

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