Skip to content

feat(preview): gate dependabot deployments - #165

Merged
richardsolomou merged 1 commit into
mainfrom
feat/dependabot-preview-approval
Aug 30, 2026
Merged

feat(preview): gate dependabot deployments#165
richardsolomou merged 1 commit into
mainfrom
feat/dependabot-preview-approval

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Aug 30, 2026

Copy link
Copy Markdown
Owner

Problem

GitHub does not apply its external-contributor workflow approval setting to Dependabot. Dokploy previews therefore deploy automatically for every Dependabot pull request, consuming server resources before a maintainer reviews them.

Changes

Dependabot preview deployments now target a configurable dependabot-preview GitHub environment. Required reviewers on that environment can approve each deployment through GitHub's deployment review UI. Human pull request previews remain automatic, and closing a Dependabot pull request still removes its preview without approval.

Each consumer repository needs to configure required reviewers on its dependabot-preview environment after adopting this release.

How did you test this code?

  • Ran the ras-stack test suite: 411 passed, 4 skipped.
  • Ran actionlint against .github/workflows/deploy-dokploy-preview.yml.
  • Ran oxfmt --check against the changed files.
  • Ran git diff --check.

markdownlint was unavailable in the local toolchain.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
ras-stack cc37d8a Aug 30 2026, 08:34 PM

@richardsolomou
richardsolomou merged commit 90ceb11 into main Aug 30, 2026
9 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