Skip to content

Commit

Permalink
Merge pull request #477 from Homebrew/bump-formulae-deprecate
Browse files Browse the repository at this point in the history
bump-formulae: deprecate
  • Loading branch information
Bo98 committed Dec 23, 2023
2 parents 55e35ac + 3b54574 commit b50a1fd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 30 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/bump-formulae.yml

This file was deleted.

5 changes: 4 additions & 1 deletion bump-formulae/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Bump formulae GitHub Action

> [!WARNING]
> This action is deprecated. Please use `Homebrew/actions/bump-packages` instead.
An action that wraps `brew bump-formula-pr` to ease the process of updating formulae. It uses `brew livecheck` under the hood to get a list of outdated formulae.

Runs on `ubuntu` and `macos`.
Expand All @@ -22,4 +25,4 @@ If there are no outdated formulae, the Action will just exit.
FORMULA-2
FORMULA-3
...
```
```
10 changes: 6 additions & 4 deletions bump-formulae/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ inputs:
runs:
using: composite
steps:
- run: brew bump --open-pr ${{inputs.formulae}}
- run: echo "::warning::Homebrew/actions/bump-formulae is deprecated. Please use Homebrew/actions/bump-packages instead."
shell: sh
env:
HOMEBREW_DEVELOPER: "1"
HOMEBREW_GITHUB_API_TOKEN: ${{inputs.token}}

- uses: Homebrew/actions/bump-packages@master
with:
token: ${{ inputs.token }}
formulae: ${{ inputs.formulae }}

0 comments on commit b50a1fd

Please sign in to comment.