File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 pinned_image :
2525 type : string
2626 required : true
27- permissions :
28- contents : read
29- id-token : write
30- packages : read
27+
28+ permissions : {}
29+
3130jobs :
3231 quality_checks :
3332 runs-on : ubuntu-22.04
33+ permissions :
34+ contents : read
35+ id-token : write
36+ packages : read
3437 container :
3538 image : ${{ inputs.pinned_image }}
3639 options : --user 1001:1001 --group-add 128
@@ -251,6 +254,10 @@ jobs:
251254 echo "images=$NORMALIZED" >> "$GITHUB_OUTPUT"
252255
253256 docker_vulnerability_scan :
257+ permissions :
258+ contents : read
259+ id-token : write
260+ packages : read
254261 runs-on : ubuntu-22.04
255262 needs : get_docker_images_to_scan
256263 container :
@@ -287,6 +294,10 @@ jobs:
287294 DOCKER_IMAGE : ${{ matrix.docker_image }}
288295
289296 IaC-validation :
297+ permissions :
298+ contents : read
299+ id-token : write
300+ packages : read
290301 runs-on : ubuntu-22.04
291302 container :
292303 image : ${{ inputs.pinned_image }}
You can’t perform that action at this time.
0 commit comments