8000 workflow/autobump: stop relying on `autobum.txt` file · Homebrew/homebrew-core@e564836 · GitHub
[go: up one dir, main page]

Skip to content

Commit e564836

Browse files
committed
workflow/autobump: stop relying on autobum.txt file
Signed-off-by: botantony <antonsm21@gmail.com>
1 parent e646dc6 commit e564836

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

.github/workflows/autobump.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ on:
66
- master
77
paths:
88
- .github/workflows/autobump.yml
9-
workflow_dispatch:
10-
inputs:
11-
formulae:
12-
description: Custom list of formulae to livecheck and bump if outdated
13-
required: false
149
schedule:
1510
# Every 3 hours from 1 through 23 with an offset of 45 minutes
1611
- cron: "45 1-23/3 * * *"
@@ -55,11 +50,4 @@ jobs:
5550
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_CORE_REPO_WORKFLOW_TOKEN }}
5651
HOMEBREW_GIT_COMMITTER_NAME: BrewTestBot
5752
HOMEBREW_GIT_COMMITTER_EMAIL: 1589480+BrewTestBot@users.noreply.github.com
58-
FORMULAE: ${{ inputs.formulae }}
59-
run: |
60-
BREW_BUMP=(brew bump --no-fork --open-pr --formulae --bump-synced)
61-
if [[ -n "${FORMULAE-}" ]]; then
62-
xargs "${BREW_BUMP[@]}" <<<"${FORMULAE}"
63-
else
64-
"${BREW_BUMP[@]}" --auto --tap=Homebrew/core
65-
fi
53+
run: brew bump --no-fork --open-pr --formulae --bump-synced --auto --tap=Homebrew/core

0 commit comments

Comments
 (0)
0