From 1441d2b178d03c0130229c4535265d085d46f080 Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Fri, 12 Jun 2026 21:56:42 +0200 Subject: [PATCH] CI: Update Github Actions workflow token use --- .github/workflows/publish.yml | 6 +++--- .github/workflows/tests.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a1d2cb0..4a758ea 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,16 +15,16 @@ jobs: pull-requests: write steps: - name: Set up Homebrew - uses: Homebrew/actions/setup-homebrew@master + uses: Homebrew/actions/setup-homebrew@main with: - token: ${{ secrets.HOMEBREW_API_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Set up git uses: Homebrew/actions/git-user-config@main - name: Pull bottles env: - HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_API_TOKEN }} + HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} PULL_REQUEST: ${{ github.event.pull_request.number }} run: brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3da7190..877094d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: id: set-up-homebrew uses: Homebrew/actions/setup-homebrew@main with: - token: ${{ secrets.HOMEBREW_API_TOKEN }} + token: ${{ secrets.GITHUB_TOKEN }} - name: Cache Homebrew Bundler RubyGems uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae