mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
ci: use permissionless runner token by default
Runner token permissions should be explicitly declared at the job-level Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
e0ad6a2b3b
commit
add9e55493
7 changed files with 30 additions and 9 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -72,6 +72,8 @@ on:
|
|||
type: string
|
||||
default: Debug
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build (${{ matrix.artifact-name }})
|
||||
|
|
@ -79,6 +81,7 @@ jobs:
|
|||
environment: ${{ inputs.environment || '' }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
# Required for Azure Trusted Signing
|
||||
id-token: write
|
||||
# Required for vcpkg binary cache
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue