Skip to content

Commit 84a4d60

Browse files
[SECURITY] limit action permissions more.
1 parent 2754392 commit 84a4d60

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/Tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ on:
1616
- ready_for_review
1717

1818
# Declare default permissions as read only.
19-
permissions: read-all
19+
permissions:
20+
contents: read # for actions/checkout to fetch code
21+
actions: read
22+
pull-requests: read
23+
2024

2125
jobs:
2226
BUILD:

0 commit comments

Comments
 (0)