diff --git a/completions/bash/brew b/completions/bash/brew index 3419efd320..dcf076a250 100644 --- a/completions/bash/brew +++ b/completions/bash/brew @@ -1552,6 +1552,7 @@ _brew_pr_automerge() { --with-label --without-approval --without-labels + --workflow " return ;; diff --git a/completions/fish/brew.fish b/completions/fish/brew.fish index aecc1cd8b7..4aa29c4e02 100644 --- a/completions/fish/brew.fish +++ b/completions/fish/brew.fish @@ -1085,6 +1085,7 @@ __fish_brew_complete_arg 'pr-automerge' -l verbose -d 'Make some output more ver __fish_brew_complete_arg 'pr-automerge' -l with-label -d 'Pull requests must have this label' __fish_brew_complete_arg 'pr-automerge' -l without-approval -d 'Pull requests do not require approval to be merged' __fish_brew_complete_arg 'pr-automerge' -l without-labels -d 'Pull requests must not have these labels (default: `do not merge`, `new formula`, `automerge-skip`)' +__fish_brew_complete_arg 'pr-automerge' -l workflow -d 'Workflow file to use with `brew pr-publish`' __fish_brew_complete_cmd 'pr-publish' 'Publish bottles for a pull request with GitHub Actions' diff --git a/completions/zsh/_brew b/completions/zsh/_brew index cbaef4b70d..6ef8bf878c 100644 --- a/completions/zsh/_brew +++ b/completions/zsh/_brew @@ -1326,7 +1326,8 @@ _brew_pr_automerge() { '--verbose[Make some output more verbose]' \ '--with-label[Pull requests must have this label]' \ '--without-approval[Pull requests do not require approval to be merged]' \ - '--without-labels[Pull requests must not have these labels (default: `do not merge`, `new formula`, `automerge-skip`)]' + '--without-labels[Pull requests must not have these labels (default: `do not merge`, `new formula`, `automerge-skip`)]' \ + '--workflow[Workflow file to use with `brew pr-publish`]' } # brew pr-publish diff --git a/docs/Manpage.md b/docs/Manpage.md index 3943a0575d..fefb74d3c1 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1247,6 +1247,8 @@ Find pull requests that can be automatically merged using `brew pr-publish`. * `--tap`: Target tap repository (default: `homebrew/core`). +* `--workflow`: + Workflow file to use with `brew pr-publish`. * `--with-label`: Pull requests must have this label. * `--without-labels`: diff --git a/manpages/brew.1 b/manpages/brew.1 index ea4b992fd1..daf8a98ff4 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1772,6 +1772,10 @@ Find pull requests that can be automatically merged using \fBbrew pr\-publish\fR Target tap repository (default: \fBhomebrew/core\fR)\. . .TP +\fB\-\-workflow\fR +Workflow file to use with \fBbrew pr\-publish\fR\. +. +.TP \fB\-\-with\-label\fR Pull requests must have this label\. .