We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2571ec6 commit f0f09d5Copy full SHA for f0f09d5
1 file changed
.github/workflows/scorecard.yml
@@ -1,4 +1,7 @@
1
# yamllint disable rule:line-length
2
+#
3
+# There are restrictions on this workflow:
4
+# https://github.com/ossf/scorecard-action#workflow-restrictions
5
---
6
name: OpenSSF Scorecard
7
@@ -10,18 +13,20 @@ on:
10
13
- master
11
14
branch_protection_rule: {}
12
15
-permissions:
- actions: read
16
+permissions: # no workflow-level write permissions allowed
17
contents: read
- id-token: write
- security-events: write
18
19
concurrency:
20
group: scorecard
21
cancel-in-progress: true
22
23
jobs:
24
analysis:
25
+ permissions:
26
+ actions: read
27
+ contents: read
28
+ id-token: write
29
+ security-events: write
30
if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request'
31
runs-on: ubuntu-latest
32
steps:
0 commit comments