Skip to content

Commit fb25743

Browse files
committed
add permissions constraint for more Github Actions.
Signed-off-by: Liu, Wei Zhi <[email protected]>
1 parent 4c5c1f4 commit fb25743

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/dev-ov_2020-3.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ on:
88
pull_request:
99
branches: [ dev-ov.2020.3 ]
1010

11+
permissions: read-all
12+
1113
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1214
jobs:
1315
# This workflow contains a single job called "build"

.github/workflows/dev-ov_2021-3.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
pull_request:
99
branches: [ dev-ov.2021.3 ]
1010

11+
permissions:
12+
contents: read
13+
1114
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1215
jobs:
1316
# This workflow contains a single job called "build"

0 commit comments

Comments
 (0)