Skip to content

Commit 19be042

Browse files
author
lgmugnier
authored
Add PAT for publish Actions (#272)
1 parent d089847 commit 19be042

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525

2626
- name: Pull bottles
2727
env:
28-
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
29-
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }}
28+
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.PAT }}
29+
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ secrets.PAT }}
3030
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.actor }}
3131
PULL_REQUEST: ${{ github.event.pull_request.number }}
3232
run: export HOMEBREW_NO_INSTALL_FROM_API=1 ; brew pr-pull --debug --workflows=tests-arm.yml --tap=$GITHUB_REPOSITORY $PULL_REQUEST
3333

3434
- name: Push commits
3535
uses: Homebrew/actions/git-try-push@master
3636
with:
37-
token: ${{ github.token }}
37+
token: ${{ secrets.PAT }}
3838
branch: ${{ github.event.pull_request.head.ref }}

0 commit comments

Comments
 (0)