Skip to content

Commit d4e0e9a

Browse files
authored
Merge pull request #590 from DoyleLi/private/DoyleLi/add_token_permission
[CI][GHA] Add token permission to read for all GHA workflows
2 parents 6693bdb + c45db2e commit d4e0e9a

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)