fix(prod): use 'prod' environment name instead of 'production'#3
Conversation
The deploy-prod workflow used 'production' as the environment name, which didn't match the EnforceAuth environment_config. Align with the dev/stage convention by using 'prod' everywhere.
There was a problem hiding this comment.
Review Summary
This PR correctly standardizes the environment name from production to prod throughout the workflow file, aligning with the naming convention used in deploy-dev.yml and deploy-stage.yml. All changes are consistent and complete:
- Comments updated to reference
prodconsistently - Concurrency group renamed to
deploy-prod - GitHub environment references updated in both
dry-runanddeployjobs - EnforceAuth deploy-action
environmentparameters updated
Critical prerequisite: Ensure the GitHub repository environment has been renamed from production to prod in repository settings before merging to avoid workflow failures.
You can now have the agent implement changes and create commits directly on your pull request's source branch. Simply comment with /q followed by your request in natural language to ask the agent to make changes.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe production deployment workflow configuration is updated to standardize environment naming from "production" to "prod" across concurrency groups, EnforceAuth action inputs, and job environment settings. Control flow and conditions remain unaffected. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Comment |
Summary
productiontoprodin the deploy workflow to match the naming convention used bydevandstageworkflows.Environments affected
prod(workflow only — no policy changes)Changes
environment:fields in both dry-run and deploy jobs fromproductiontoproddeploy-productiontodeploy-prodprodinstead ofproductionTesting
opa testneededproductiontoprodin repo settings before merging🤖 Generated with Claude Code
Summary by CodeRabbit