Skip to content

droneship pr

Push the sandbox’s branch and open a pull request for it.

The push runs in the sandbox. The PR is opened here: with gh when it is signed in, else on GitHub’s compare page in your browser.

Terminal window
droneship pr [OPTIONS]
Option Description Default
--id ID Which sandbox (this checkout’s when omitted)
--title TITLE The PR title (the last commit’s subject)
--body BODY The PR body (the list of commits)
--base BRANCH The branch to merge into (the default branch)
--dry-run Show what would happen, push nothing

Push the sandbox’s branch and open a pull request:

Terminal window
droneship pr

Show what the command would do, without pushing anything:

Terminal window
droneship pr --dry-run

Set the pull request title and the target branch:

Terminal window
droneship pr --title "Fix flaky checkout test" --base main

Generated from the CLI. Verified against droneship 1.12.0.