mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-08 11:30:06 +00:00
Set token permissions to workflows (#3156)
Signed-off-by: Joyce <joycebrum@google.com>
This commit is contained in:
parent
204812694c
commit
cd2082e058
6
.github/workflows/continuous_deployment.yml
vendored
6
.github/workflows/continuous_deployment.yml
vendored
@ -22,9 +22,13 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ${{matrix.os.genus}}
|
||||
permissions:
|
||||
contents: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@ -101,6 +105,8 @@ jobs:
|
||||
|
||||
macos:
|
||||
runs-on: ${{matrix.os.genus}}
|
||||
permissions:
|
||||
contents: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
|
2
.github/workflows/continuous_integration.yml
vendored
2
.github/workflows/continuous_integration.yml
vendored
@ -12,6 +12,8 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
linux:
|
||||
runs-on: ${{matrix.os}}
|
||||
|
Loading…
Reference in New Issue
Block a user