Skip to content

destory PR previews after merging#3

Merged
cau1k merged 1 commit intomainfrom
feat/pr-preview-teardown
Dec 4, 2025
Merged

destory PR previews after merging#3
cau1k merged 1 commit intomainfrom
feat/pr-preview-teardown

Conversation

@cau1k
Copy link
Copy Markdown
Member

@cau1k cau1k commented Dec 4, 2025

Summary by CodeRabbit

  • Chores
    • Updated preview environment cleanup process to manage resources on a per-pull-request basis, improving efficiency.

✏️ Tip: You can customize this high-level summary in your review settings.

@cau1k cau1k merged commit 3977df0 into main Dec 4, 2025
2 of 3 checks passed
@cau1k cau1k deleted the feat/pr-preview-teardown branch December 4, 2025 21:58
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Dec 4, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

A GitHub Actions workflow modification that adjusts the cleanup preview step for pull requests to use a PR-scoped stage parameter, adding --stage pr-${{ github.event.pull_request.number }} to the destroy command for enhanced environment isolation.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
\.github/workflows/docs-pr-preview.yml``
Modified Cleanup Preview step to include PR-specific stage parameter in destroy command for scoped environment cleanup

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

  • Single file modification affecting only a workflow step parameter
  • No logic changes or business logic impact
  • Straightforward parameter addition for environment scoping

Poem

🐰 A hop, a skip, the stage takes flight,
PR-scoped preview, cleaner and tight—
No more generic sweeps across the floor,
Each rabbit warren gets its own door! ✨

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/pr-preview-teardown

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 36e94a1 and a3e363a.

📒 Files selected for processing (1)
  • .github/workflows/docs-pr-preview.yml (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Dec 4, 2025

Preview Deployment

🔗 https://pr-3.better-slop.com

@cau1k cau1k restored the feat/pr-preview-teardown branch December 11, 2025 19:55
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