mirror of
https://github.com/lklynet/hypermind.git
synced 2026-08-25 15:56:32 +00:00
ci: Granular workflow permissions
This commit is contained in:
@@ -16,9 +16,6 @@ env:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.runner }}
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
||||
@@ -7,5 +7,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
uses: ./.github/workflows/build.yml
|
||||
permissions:
|
||||
contents: read
|
||||
with:
|
||||
push-to-registry: false
|
||||
|
||||
@@ -14,6 +14,10 @@ env:
|
||||
jobs:
|
||||
build:
|
||||
uses: ./.github/workflows/build.yml
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
secrets: inherit
|
||||
with:
|
||||
push-to-registry: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user