Skip to content

Commit 49a2bba

Browse files
committed
fix
Signed-off-by: Junpu Fan <[email protected]>
1 parent 0ef7e4c commit 49a2bba

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

.github/workflows/reusable-build-container-image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ on:
114114
HUGGING_FACE_HUB_TOKEN:
115115
required: false
116116

117+
permissions:
118+
contents: read
119+
117120
jobs:
118121
build-image:
119122
runs-on: ${{ fromJSON(inputs.runs-on) }}

.github/workflows/reusable-pr-validation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ on:
9393
description: 'Whether test changes were detected'
9494
value: ${{ jobs.pr-validation.outputs.test-change }}
9595

96+
permissions:
97+
contents: read
98+
pull-requests: read
99+
96100
jobs:
97101
pr-validation:
98102
runs-on: ${{ fromJSON(inputs.runs-on) }}

.github/workflows/reusable-set-test-environment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ on:
6363
HUGGING_FACE_HUB_TOKEN:
6464
required: false
6565

66+
permissions:
67+
contents: read
68+
6669
jobs:
6770
set-environment:
6871
if: |

.github/workflows/reusable-test-execution.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ on:
171171
HUGGING_FACE_HUB_TOKEN:
172172
required: false
173173

174+
permissions:
175+
contents: read
176+
174177
jobs:
175178
test:
176179
runs-on: ${{ fromJSON(inputs.runs-on) }}

0 commit comments

Comments
 (0)