Repository navigation
ci: require approval for production deploys - #20
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 51c87bc9ee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| needs: test | ||
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
| environment: | ||
| name: Production – dagh-server |
There was a problem hiding this comment.
Configure reviewers for this environment
For the approval gate to work, the exact Production – dagh-server environment must have required reviewers configured in repository settings; this workflow only references the environment, and GitHub creates a missing environment without protection rules. If that configuration is absent, pushes to main will still proceed directly to the VPS deploy, so pending migrations are not reviewed.
Useful? React with 👍 / 👎.
Gate VPS deploys behind the Production – dagh-server environment so pending Prisma migrations can be reviewed before deployment.