When a release pull request opens, assemble a readiness report, pause for a human release manager to approve, and on approval fire the release pipeline. On rejection or timeout, report why the release did not go out.
- Identifier
release-readiness-gate- Version
- 1.1.0
- Steps
- 8
- Triggers
- 1
- release
- approval
- ci
- governance
- automated
When it runs
pull_request.opened- Settle delay
- 20s after the event
Only when all hold
- pullRequest.headBranch starts with release/
- pullRequest.baseBranch in main,master
- actor.username not contains [bot]
The pipeline
The graph below is the one the workflow opens with in the builder — same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.
- 01Release PR Opened
triggerThe event that starts the run.
- 02Clone Release Branch
git.cloneShallow-clones the repository at the right ref.
- 03Assemble Readiness Report
agent.runOne agent works the task with its toolkit.
- 04Publish Readiness Report
report.publishPosts or updates a deduplicated report comment.
- 05Release Manager Approval
approval.gatePauses the run until a human decides.
- 06Dispatch Release Pipeline
ci.executeWorkflowDispatches a CI workflow on the provider.
- 07Report Block
agent.runOne agent works the task with its toolkit.
- 08Publish Block Report
report.publishPosts or updates a deduplicated report comment.
Branches
- release_gate to report_block: runs only if the step above failed, was rejected, or timed out
The agent
Release Readiness Analyst
- Base type
- Senior Developer
- Temperature
- 0.2
- Max iterations
- 40
- Tools
- 11
Git provider · 4
read_pull_requestRead Pull Request · readget_pull_request_diffGet Pull Request Diff · readlist_pull_requestsList Pull Requests · readlist_issuesList Issues · read
CI/CD · 2
list_pr_ci_runsList PR CI Runs · readget_ci_run_logsGet CI Run Logs · read
Filesystem · 2
read_fileRead File · readlist_dirList Directory · read
Tickets · 1
list_ticketsList Tickets · read
Code search · 1
code_searchCode Search · read
Status · 1
update_statusUpdate Status · write
Related playbooks
CI Duration Regression Watch
Weekly analysis of CI durations that identifies regressed jobs, opens the workflow definition, and proposes a specific cause and fix.
Fix CI
Reads CI failure logs, locates the root cause in the diff, and pushes a fix.
Flaky Test Detector
Runs the test suite five times on the same commit and files a ticket for every non-deterministic test.