From 9092f760fbb071ea78f0e69b367f432178eaf105 Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Fri, 23 Feb 2024 12:20:59 -0800 Subject: [PATCH] dev-cmd/bump: add `--no-fork` switch Signed-off-by: Patrick Linnane --- Library/Homebrew/dev-cmd/bump.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Library/Homebrew/dev-cmd/bump.rb b/Library/Homebrew/dev-cmd/bump.rb index b84d94b66c..a12ca2e0ca 100644 --- a/Library/Homebrew/dev-cmd/bump.rb +++ b/Library/Homebrew/dev-cmd/bump.rb @@ -37,6 +37,8 @@ module Homebrew description: "Check only casks." switch "--installed", description: "Check formulae and casks that are currently installed." + switch "--no-fork", + description: "Don't try to fork the repository." switch "--open-pr", description: "Open a pull request for the new version if none have been opened yet." flag "--limit=", @@ -509,6 +511,8 @@ module Homebrew "--message=Created by `brew bump`", ] + bump_cask_pr_args << "--no-fork" if args.no_fork? + system HOMEBREW_BREW_FILE, *bump_cask_pr_args end