Skip to content

Commit ac56a43

Browse files
committed
make write permissions job-level
1 parent baf64ef commit ac56a43

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,14 +212,17 @@ on:
212212
- "run-only"
213213

214214
permissions:
215-
contents: write
215+
contents: read
216216
packages: read
217217

218218
jobs:
219219
run:
220220
if: github.event_name == 'workflow_dispatch' || inputs.skip_run == 'false'
221221
name: ${{ inputs.name }}
222222
runs-on: ${{ fromJSON(inputs.runner) }}
223+
permissions:
224+
contents: write
225+
packages: read
223226
container:
224227
image: ${{ inputs.image || 'ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps'}}
225228
options: ${{ inputs.image_options }}

0 commit comments

Comments
 (0)