Commit 395c60b
committed
Try another permission setup.
security events has to be write to allow codeql to work. OSSF-security
scan complains with the write at the top level.
So leave top level read only and add write at job level.
See if codeql will not fail (missing write perms caused failure in
codeql init).
Note that ossf recommended remediation step using:
https://app.stepsecurity.io/secureworkflow/roundup-tracker/roundup/codeql-analysis.yml/master?enable=permissions
had no issue with the permissions defined in the workflow. I had a
green checkmark.1 parent 3265c1b commit 395c60b
1 file changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
0 commit comments