Skip to content

Commit

Permalink
update homebrew update to use our service account (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvin-huang authored Nov 22, 2024
1 parent 1a52cbc commit 6c55cc4
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish-formula-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ jobs:
name: Update Formula
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 #v4.1.7
with:
# token under hc-github-team-es-release-engineering user
token: ${{ secrets.HOMEBREW_TAP_UPDATER_TOKEN }}

- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 #v5.0.1
Expand Down Expand Up @@ -43,14 +45,11 @@ jobs:
- name: Publish Change
run: |
git config user.name hc-espd-packager
git config user.email [email protected]
git add Formula/*.rb Casks/*.rb
git commit -m "Bump ${{ github.event.client_payload.name }} to ${{ github.event.client_payload.version }}"
# Ensure we have any changes that might have been merged before we push. This narrows the window in which a
# Ensure we have any changes that might have been merged before we push. This narrows the window in which a
# race from multiple changes happening at once can occur. Conflicts/Races could still occur though unlikley.
git pull --rebase
Expand Down

0 comments on commit 6c55cc4

Please sign in to comment.