Skip to content

Commit 212fcd3

Browse files
authored
Restrict GitHub workflow permissions to contents: read (#248)
1 parent d08a627 commit 212fcd3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Pull request
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
types: [opened, reopened, synchronize]

0 commit comments

Comments
 (0)