Skip to content

ci: retarget workflows for prod/dev/stage branch model - #33

Merged
TusharW4ni merged 1 commit into
mainfrom
chore/workflow-branch-model
Aug 23, 2026
Merged

ci: retarget workflows for prod/dev/stage branch model#33
TusharW4ni merged 1 commit into
mainfrom
chore/workflow-branch-model

Conversation

@TusharW4ni

Copy link
Copy Markdown
Contributor

Prep for the branch restructure (rename mainprod, add dev as default).

Changes

  • Rename .github/workflows/main.ymlprod.yml, triggering on pushes to prod (was main). Deploy still targets the prod ECS environment via deploy.yml — only the branch trigger moves.
  • test.yml (CI): push trigger main, stagedev, stage, prod (PRs already covered by pull_request:).
  • README: CI note now says dev/stage/prod.

Why merge this first

This must land on main before main is renamed to prod, so the renamed branch already has a correctly-targeted deploy workflow (no window where prod has no working deploy trigger).

After this merges: rename mainprod, create dev from prod, set dev as default.

🤖 Generated with Claude Code

Prep for renaming main -> prod and adding a dev default branch:
- rename main.yml -> prod.yml and trigger it on pushes to prod
- CI (test.yml) now runs on pushes to dev/stage/prod (PRs already covered)
- README: CI note reflects dev/stage/prod

deploy.yml is unchanged (ECS envs still named prod/stage; only branch triggers move).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@TusharW4ni
TusharW4ni merged commit fbdb69a into main Aug 23, 2026
1 check passed
@TusharW4ni
TusharW4ni deleted the chore/workflow-branch-model branch August 23, 2026 01:19
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