Skip to content

Commit ef2c04b

Browse files
committed
dry run mode docs
1 parent d8eb5d6 commit ef2c04b

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ Combine all open pull requests in a repository that are created by dependabot:
5050
gh combine owner/repo --dependabot
5151
```
5252

53+
### In Dry Run Mode
54+
55+
You can run in dry run mode to see what would happen without actually creating a pull request or combining any pull requests:
56+
57+
```bash
58+
gh combine owner/repo --dry-run
59+
```
60+
5361
### With Passing CI
5462

5563
Combine multiple pull requests together but only if their CI checks are passing:

internal/cmd/root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ func NewRootCmd() *cobra.Command {
115115
gh combine owner/repo --add-assignees octocat,hubot # Assign users to the new PR
116116
117117
# Additional options
118+
gh combine owner/repo --dry-run # Simulate the actions without making any changes
118119
gh combine owner/repo --autoclose # Close source PRs when combined PR is merged
119120
gh combine owner/repo --base-branch main # Use a different base branch for the combined PR
120121
gh combine owner/repo --no-color # Disable color output

0 commit comments

Comments
 (0)