From 457c529408963c6218616b12c2095e423ff3d666 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Tue, 11 Jun 2024 13:45:57 -0400 Subject: [PATCH] use test repository --- .github/workflows/bump-formula-pr.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bump-formula-pr.yml b/.github/workflows/bump-formula-pr.yml index ec37a18e16..2a22a176e7 100644 --- a/.github/workflows/bump-formula-pr.yml +++ b/.github/workflows/bump-formula-pr.yml @@ -18,7 +18,7 @@ jobs: app-id: ${{ secrets.ALLOYBOT_APP_ID }} private-key: ${{ secrets.ALLOYBOT_PRIVATE_KEY }} owner: grafana - repositories: alloy,homebrew-grafana + repositories: alloy,homebrew-grafana-test - name: Get latest release uses: rez0n/actions-github-release@main @@ -32,13 +32,17 @@ jobs: uses: Homebrew/actions/setup-homebrew@master - name: Tap Grafana formula repository - run: brew tap grafana/grafana + run: brew tap grafana/grafana-test - name: Update Homebrew formula # 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 }} - formulae: grafana/grafana/alloy - fork: false + run: | + brew bump-formula-pr \ + --no-browse \ + --no-audit \ + --no-fork \ + --version v1.1.0 \ + grafana/grafana-test/alloy + env: + HOMEBREW_DEVELOPER: "1" + HOMEBREW_GITHUB_API_TOKEN: ${{ steps.app-token.outputs.token }}