Skip to content

Commit

Permalink
Renamed secret COMMITTER_TOKEN to HOMEBREW_TAP_TOKEN, so it consisten…
Browse files Browse the repository at this point in the history
…t across main repositories and the Homebrew counterpart.
  • Loading branch information
jakob-bagterp committed Nov 5, 2024
1 parent d0a0be8 commit d96acb9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Update Homebrew formula
uses: mislav/bump-homebrew-formula-action@v3
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
formula-name: ${{ env.FORMULA_NAME }}
Expand All @@ -56,7 +56,7 @@ jobs:

- name: Try to enable auto-merge of pull request and delete branch
env:
GITHUB_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
run: | # Ignore errors if pull request can't be merged. Then we just have to do it manually.
sleep 2
PULL_REQUEST_NUMBER=$(gh pr list --json number --jq ".[0].number" || echo "")
Expand Down Expand Up @@ -91,11 +91,11 @@ jobs:
labels: enhancement
base: master
delete-branch: true
token: ${{ secrets.COMMITTER_TOKEN }}
token: ${{ secrets.HOMEBREW_TAP_TOKEN }}

- name: Try to enable auto-merge of pull request and delete branch
env:
GITHUB_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
run: | # Ignore errors if pull request can't be merged. Then we just have to do it manually.
sleep 2
PULL_REQUEST_NUMBER=$(gh pr list --json number --jq ".[0].number" || echo "")
Expand Down

0 comments on commit d96acb9

Please sign in to comment.