-
Notifications
You must be signed in to change notification settings - Fork 0
How we work: Branching strategy
Padmaja edited this page Mar 7, 2025
·
18 revisions
-
Create a feature branch using
main
as the base branchgit checkout -b fer/1234
- Our feature branch naming convention is an abbreviation of the author's name / the issue number. For example fer/1234
-
Deploy your changes to staging
- In your local environment, checkout the staging branch and pull the latest changes
git checkout staging && git pull origin staging
- Squash and Merge your feature branch to the staging branch
git merge fer/1234
- Push the changes directly to staging. No pull request is required.
git push origin staging
- Deployment to the staging environment will be triggered automatically
- In your local environment, checkout the staging branch and pull the latest changes
-
Move the issue to the PO Acceptance column in the Kanban board (if the issue can be reviewed externally)
- Wait for external review
- If external review is APPROVED ✅
- Move to step 4
- If external review is NOT APPROVED ❌
- Go back to step 2 (Iterate your code until it is PO accepted)
-
Create a Pull Request
git push origin fer/1234
- Open GitHub and create a new pull request
- Team convention for title:
gitmoji
issue title or good description #issue number - Connect Github issue in the created PR after creation. (Successfully merging this pull request may close these issues.)
- Move the pull request to In Developer Review column.
-
Move the issue to the Developer Acceptance column in the Kanban board
- Wait for a code review from one of the team members
- Iterate your code until it is tech-approved ✅
-
Once "Developer Accptance" is done, merge your PR.
- Pre prod deploy will be initiated automatically.
- The issue corresponding to the PR will be closed and moved to "Release" column.
-
Verify your updates in Preprod to check nothing is broken. Ask PO to verify if needed.
- Run the
deploy all websites/studios to prod
script through GitHub Actions- Deploying to PROD will move the cards from Release to Done
- Discussion is created automatically based on the issues moved from Release to Done
- Posting the release log link in the #envis Slack channel is done automatically.
Note: Above automation only works for deploying to all webs, otherwise do these post release tasks manually. Max of 50 issues in the release column will be closed. (Think it serves the purpose for now)
- Home
- The team
- How we work
- Retrospectives
- GitHub Actions
- Satellite sites
- Redirects
- Groups / Accesses / Sites
- Migrate production data to test
- Guide to upgrading dependencies