mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Adding GHA permission for GitHub Packages
When a tap stores bottles in GitHub Packages, then the publish workflow requires the corresponding write permission.
This commit is contained in:
parent
eacf8d96d6
commit
8e65816335
@ -114,6 +114,7 @@ module Homebrew
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
packages: #{args.github_packages ? "write" : "none"}
|
||||||
pull-requests: write
|
pull-requests: write
|
||||||
steps:
|
steps:
|
||||||
- name: Set up Homebrew
|
- name: Set up Homebrew
|
||||||
|
Loading…
x
Reference in New Issue
Block a user