Skip to content

ci: require approval for production deploys - #20

Merged
hollali merged 1 commit into
mainfrom
ci-production-approval
Nov 29, 2026
Merged

hollali merged 1 commit into
mainfrom
ci-production-approval

Conversation

@hollali

@hollali hollali commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Gate VPS deploys behind the Production – dagh-server environment so pending Prisma migrations can be reviewed before deployment.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T20:55:33.640387Z 51c87bc PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .github/workflows/ci.yml
needs: test
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: Production – dagh-server

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@hollali
hollali merged commit cf981f0 into main Nov 29, 2026
2 checks passed
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