Label a merged pull request `backport/<version>` and the playbook applies the same change to the `release/<version>` branch and opens a backport PR against it.
- Identifier
backport-to-release- Version
- 1.1.0
- Steps
- 4
- Triggers
- 1
- backport
- release
- pull-request
- automated
When it runs
pull_request.labeled- Settle delay
- 10s after the event
Only when all hold
- pullRequest.merged equals true
- pullRequest.addedLabel starts with backport/
- 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.
- 01backport/* Label on Merged PR
triggerThe event that starts the run.
- 02Clone Default Branch
git.cloneShallow-clones the repository at the right ref.
- 03Create Backport PR
agent.runOne agent works the task with its toolkit.
- 04Publish Backport Report
report.publishPosts or updates a deduplicated report comment.
The agent
Backport Engineer
- Base type
- Senior Developer
- Temperature
- 0.15
- Max iterations
- 45
- Tools
- 12
Git provider · 7
read_pull_requestRead Pull Request · readget_pull_request_diffGet Pull Request Diff · readlist_pull_requestsList Pull Requests · readcreate_branchCreate Branch · writecreate_or_update_fileCreate or Update File · writecreate_pull_requestCreate Pull Request · writeadd_labelsAdd Labels · write
Filesystem · 2
read_fileRead File · readlist_dirList Directory · read
Code search · 1
code_searchCode Search · read
Terminal · 1
run_terminal_cmdRun Terminal Command · write
Status · 1
update_statusUpdate Status · write
Related playbooks
Commit Message Rewriter
Proposes the correct squash-merge commit message for a PR, derived from the diff, and updates the proposal on each push.
Fix Review Comments
Comment /fix-comments on a PR and an agent implements the requested review changes on the branch.
Accessibility Audit
Reviews UI PRs for accessibility defects, posts inline threads citing WCAG criteria, and submits a summary review.