dev-cmd/tap-new: fix GitHub Packages user

It should be `github.repository_owner` rather than `github.actor`.
This commit is contained in:
Ruoyu Zhong 2024-04-19 11:03:54 +08:00
parent adbe6edc84
commit 7e43853216
No known key found for this signature in database

View File

@ -129,7 +129,7 @@ module Homebrew
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ github.token }}
HOMEBREW_GITHUB_PACKAGES_TOKEN: ${{ github.token }}
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.actor }}
HOMEBREW_GITHUB_PACKAGES_USER: ${{ github.repository_owner }}
PULL_REQUEST: ${{ github.event.pull_request.number }}
run: brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST