Ruoyu Zhong
209a9fe2ff
dev-cmd/pr-automerge: skip PRs with pre-release
label
...
PRs with the `pre-release` label are always not ready for merge, so
let's skip them by default.
See also: Homebrew/homebrew-core#128906 .
Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2023-04-21 03:30:10 +08:00
Carlo Cabrera
0314d73d67
dev-cmd/pr-*: remove --commit-bottles-to-pr-branch
...
This will be made the default by Homebrew/homebrew-core#127021 .
Additionally, branch protection rules will make it so that attempting to
push to master will fail, so we may as well not have to carry this flag
around.
2023-03-30 11:11:15 +08:00
Carlo Cabrera
b26d92ca9a
🐛 fixes
2023-03-28 23:07:03 +08:00
Carlo Cabrera
e462b59f7c
pr-automerge: pass --commit-bottles-to-pr-branch
by default
2023-03-28 22:20:09 +08:00
Carlo Cabrera
46ac052b3b
dev-cmd/pr-automerge: skip PRs labelled CI-published-bottle-commits
...
This is based on feedback from @plinnane on Slack.
2023-03-28 22:20:09 +08:00
Carlo Cabrera
834e4c98fc
dev-cmd/pr-*: replace --no-autosquash
with --autosquash
...
We will now no longer be squashing commits by default, so it makes sense
to default to doing nothing but still autosquash commits when requested
with `--autosquash`.
2023-03-28 21:51:01 +08:00
Douglas Eichelberger
0b04b99e68
brew typecheck --suggest-typed --update
2023-03-09 20:32:46 -08:00
Douglas Eichelberger
0eccc0e987
git grep -l Utils::Inflection | xargs gsed -i 's|Utils::Inflection|Utils|g'
2023-02-27 20:18:27 -08:00
Douglas Eichelberger
3da68651e5
Port more call sites
2023-02-27 20:18:08 -08:00
Mike McQuaid
2d5eab2e1c
brew style --fix
2022-06-30 08:56:21 +01:00
Sean Molenaar
05eafa5cac
pr-automerge: allow users to specify a workflow for pr-publish
2022-04-25 20:29:35 +02:00
Mike McQuaid
38e1b3d64b
Deprecations, disables, deletions for 3.4.0
2022-02-22 14:28:32 +00:00
Bo Anderson
6e37c67fba
Fix disabled args appearing in documentation.
2021-12-17 02:02:45 +00:00
Michka Popoff
f96f29f68d
pr-automerge: remove linux to homebrew-core label
...
Merging is done, we don't use this label anymore
2021-10-23 16:48:42 +02:00
Mike McQuaid
f65d525693
Deprecations/disables for 3.3.0/4.0.0.
...
Deprecate, disable and remove code for Homebrew 3.3.0 or 4.0.0
(whichever the next release ends up being).
2021-10-19 16:36:42 +01:00
Michael Cho
eb6f18d24a
pr-automerge: enable automerging linux-only PRs
2021-09-01 11:24:41 -07:00
Carlo Cabrera
ae788550f9
Show replacement command in odeprecated
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-20 09:39:51 +08:00
Carlo Cabrera
9370c7cca7
Fix logic error in pr-automerge
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-20 09:28:38 +08:00
Carlo Cabrera
654d10d6d3
Fix more typos
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-07-19 09:43:08 +08:00
Carlo Cabrera
171859d3ad
Fix typos
...
Co-authored-by: Dawid Dziurla <dawidd0811@gmail.com>
2021-07-18 15:54:52 +08:00
Carlo Cabrera
3325b79726
dev-cmd/pr-automerge: deprecate --autosquash
2021-07-18 15:36:19 +08:00
Bo Anderson
c6986122c8
dev-cmd/pr-automerge: skip automerge for "linux to homebrew-core"
2021-03-26 11:07:45 +00:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Alexander Bayandin
5607e4a947
dev-cmd/pr-automerge: exclude draft PR
2020-12-15 14:24:31 +00:00
EricFromCanada
72bc057014
manpage: fixes for formatting
2020-11-16 08:02:50 -05:00
Mike McQuaid
aaa38b6a35
Merge pull request #9109 from SeekingMeaning/automerge/exclude-linux-only
...
pr-automerge: don't automerge PRs with linux-only label
2020-11-16 12:54:59 +00:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Seeker
d3080c8ce1
pr-automerge: don't automerge PRs for linux-only formulae
2020-11-11 01:18:16 -08:00
Jonathan Chang
1b45ed1045
pr-automerge: enable --autosquash argument
2020-10-13 22:44:17 +11:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Dustin Rodrigues
420e8fdbe4
pr-automerge: pluralize message only when needed
2020-08-17 20:02:45 -04:00
Markus Reiter
d4c2ffd705
Refactor CLI::Parser
.
2020-07-31 15:07:17 +02:00
Markus Reiter
bd0346e083
Pass args
in pr-automerge
instead of using global args
.
2020-07-30 03:21:12 +02:00
Dawid Dziurla
367de3523a
pr-automerge: fix variable name
2020-07-27 22:39:54 +02:00
Dawid Dziurla
62ca046390
pr-automerge: pass proper tap variable
...
Co-authored-by: Jonathan Chang <jchang641@gmail.com>
2020-07-25 08:42:39 +02:00
Dawid Dziurla
8be563c5cd
pr-automerge: pass --tap arg down
2020-07-24 18:48:28 +02:00
Dawid Dziurla
77a1bc22d7
dev-cmd/pr-*: allow to run on other taps too
2020-07-02 22:47:55 +02:00
Dawid Dziurla
6fa09ab0ee
pr-automerge: match only approved PRs by default
...
Also remove default `--with-label` value and add `--without-approval`
option.
Reviews could be automatically dismissed on new commits pushed (there is
an option for that in repository settings on Github). That is not the
case for labels. They remain attached to a PR, even when new commits are
pushed. This is undesirable and creates security concerns, because
someone could introduce untested code just before the automerge happens.
Co-authored-by: Eric Knibbe <enk3@outlook.com>
2020-05-06 18:32:47 +02:00
EricFromCanada
9d6eb41fc5
cmd/dev-cmd: misc. usage and wording fixes
2020-04-19 13:31:54 -04:00
Dawid Dziurla
8305919c93
pr-automerge: allow multiple comma separated -labels
2020-04-19 16:17:25 +10:00
Jonathan Chang
5a95fe14aa
dev-cmd: add pr-automerge
...
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-04-13 20:14:40 +10:00