Skip to content

Commit 92fe531

Browse files
authored
chore: remove read-all permissions (#633)
1 parent 01a94ff commit 92fe531

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/scorecard.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ on:
1414
push:
1515
branches: [ "main" ]
1616

17-
# Declare default permissions as read only.
18-
permissions: read-all
19-
2017
jobs:
2118
analysis:
2219
name: Scorecard analysis
@@ -26,9 +23,8 @@ jobs:
2623
security-events: write
2724
# Needed to publish results and get a badge (see publish_results below).
2825
id-token: write
29-
# Uncomment the permissions below if installing in a private repository.
30-
# contents: read
31-
# actions: read
26+
contents: read
27+
actions: read
3228

3329
steps:
3430
- name: Harden Runner

0 commit comments

Comments
 (0)