Skip to content

Commit

Permalink
test using official GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
rfratto committed Jun 11, 2024
1 parent 7aca045 commit ada2596
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/bump-formula-pr.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: bump-formula-pr
on:
release:
types: [released]
push:
branches:
- "fix-homebrew-automation"
# on:
# release:
# types: [released]

jobs:
homebrew-grafana:
Expand All @@ -25,18 +29,10 @@ jobs:
type: "stable"

- name: Update Homebrew formula
if: 'steps.latest_release.outputs.release_id == github.event.release.id'
uses: dawidd6/action-homebrew-bump-formula@v3
# if: 'steps.latest_release.outputs.release_id == github.event.release.id'
uses: Homebrew/actions/bump-packages@master
with:
# Required, custom GitHub access token with the 'public_repo' and 'workflow' scopes
token: ${{ steps.app-token.outputs.token }}
# Optional, defaults to homebrew/core
tap: grafana/grafana
# Formula name, required
formula: alloy
# Optional, will be determined automatically
tag: ${{github.ref}}
# Optional, will be determined automatically
revision: ${{github.sha}}
# Optional, if don't want to check for already open PRs
force: false # true
formulae: grafana/grafana/alloy
fork: false

0 comments on commit ada2596

Please sign in to comment.