From d96acb96be637708b292fa44750f200af84020a4 Mon Sep 17 00:00:00 2001 From: Jakob Bagterp Date: Tue, 5 Nov 2024 16:23:58 +0100 Subject: [PATCH] Renamed secret COMMITTER_TOKEN to HOMEBREW_TAP_TOKEN, so it consistent across main repositories and the Homebrew counterpart. --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a74cc44..f16cd9c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -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 "") @@ -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 "")