Skip to content

Commit fb7b0d9

Browse files
committed
note about labels following the or || logic
1 parent 88f9593 commit fb7b0d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ You can also require a set of multiple labels
109109
gh combine owner/repo --labels security,dependencies
110110
```
111111

112+
> Note that the labels are OR'd together. So if a pull request has either label, it will be included in the combined pull request. Meaning that if you use `--labels security,dependencies` and a pull request has the `security` label, it will be included in the combined pull request even if it does not have the `dependencies` label.
113+
112114
### Only Combine Pull Requests that match a given Regex
113115

114116
```bash
@@ -133,6 +135,8 @@ gh combine owner/repo --branch-suffix "-some-cool-feature"
133135
gh combine owner/repo --ignore-labels wip,dependencies
134136
```
135137

138+
> Note that labels are OR'd together. So if a pull request has either label, it will be ignored in the combined pull request. Meaning that if you use `--ignore-labels wip,dependencies` and a pull request has the `wip` label, it will be ignored in the combined pull request even if it does not have the `dependencies` label.
139+
136140
### Update the Resulting Combined Pull Request Branch if Possible
137141

138142
```bash

0 commit comments

Comments
 (0)