Skip to content

Commit 4a14d38

Browse files
authored
Minimize permissions to CI workflows (#103)
Set only read permission on CI workflows since they don't need write access.
1 parent 751da59 commit 4a14d38

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/fossa.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: FOSSA Analysis
22
on: push
33

4+
permissions:
5+
contents: read
6+
47
jobs:
58

69
build:

.github/workflows/go.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches: ['*']
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114

1215
build:

0 commit comments

Comments
 (0)