What problem does it solve?
Rolling back a dotCMS release without knowing which merged PRs introduced database migrations, index changes, or API contract changes risks breaking the target environment. This Skill automates the audit by checking every PR merged between two versions for rollback-safety labels.
Core Features & Use Cases
- PR Range Analysis: Extracts all merged PR numbers from the git commit range between two version SHAs, correctly handling backports and reverts.
- Label-Based Classification: Categorizes each PR as SAFE, NOT_SAFE, CONFLICTING, or UNLABELED based on rollback-safety labels fetched via the GitHub CLI, flagging low-risk CI/infra changes separately.
- Structured Verdict Report: Generates a Markdown report with risk notes per PR and a final YES / NO / CONDITIONAL rollback verdict, optionally saved as a text file.
- Use Case: Before reverting a production deployment from 26.04.28-02_7149dce to 26.04.11-02_9650131, run the check to confirm no PR in the range carries a "Not Safe To Rollback" label.
Quick Start
Ask the assistant to check whether dotCMS release 26.04.28-02_7149dce can be safely rolled back to 26.04.11-02_9650131.