Skip to content

Commit d6919c7

Browse files
committed
Fix osmodifier workflow permissions
1 parent c3ccaed commit d6919c7

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ jobs:
193193
with:
194194
hostArch: amd64
195195
hostDistro: azl3
196+
permissions:
197+
contents: read
198+
# Azure login.
199+
id-token: write
196200

197201
tests-vmtests-osmodifier-ubuntu2404-amd64:
198202
name: VMTests suite osmodifier Ubuntu24.04 AMD64
@@ -202,6 +206,10 @@ jobs:
202206
with:
203207
hostArch: amd64
204208
hostDistro: ubuntu2404
209+
permissions:
210+
contents: read
211+
# Azure login.
212+
id-token: write
205213

206214
tests-vmtests-osmodifier-ubuntu2404-arm64:
207215
name: VMTests suite osmodifier Ubuntu24.04 ARM64
@@ -211,3 +219,7 @@ jobs:
211219
with:
212220
hostArch: arm64
213221
hostDistro: ubuntu2404
222+
permissions:
223+
contents: read
224+
# Azure login.
225+
id-token: write

.github/workflows/tests-vmtests-osmodifier.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33

44
name: Tests VMTests suite for OSModifier
55

6-
permissions:
7-
contents: read
8-
# Azure login.
9-
id-token: write
6+
permissions: {}
107

118
on:
129
workflow_call:

0 commit comments

Comments
 (0)