Skip to content

Commit c45db2e

Browse files
committed
[CI][GHA] Add token permission to read for all GHA workflows
Signed-off-by: Xiaodong Li <xiaodong.li@intel.com>
1 parent 6693bdb commit c45db2e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci_lin.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Linux Github Action CI
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
branches:

.github/workflows/ci_win.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Windows Github Action CI
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
branches:

0 commit comments

Comments
 (0)