Skip to content

Commit 5fd9c86

Browse files
authored
ci: Restrict permissions of GITHUB_TOKEN (#1189)
1 parent 31a55ab commit 5fd9c86

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
merge_group:
88
branches: [ "master" ]
99

10+
permissions:
11+
contents: read
1012

1113
env:
1214
PROTOC_VERSION: '3.25.3'

.github/workflows/cifuzz.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: CIFuzz
22
on: [pull_request]
3+
4+
permissions:
5+
contents: read
6+
37
jobs:
48
Fuzzing:
59
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)