Skip to content

Commit 2c00d98

Browse files
committed
build: harden pull_request.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
1 parent 4883086 commit 2c00d98

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/pull_request.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- master
1010

11+
permissions:
12+
contents: read # to fetch code (actions/checkout)
13+
1114
jobs:
1215
test:
1316
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)