Skip to content

Commit c2d291f

Browse files
authored
Merge pull request #44 from advanced-security/adrienpessu-patch-1
Update sec-opengrep.yml
2 parents a7b44ed + 26fe78d commit c2d291f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sec-opengrep.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
permissions:
1111
contents: read
12-
actions: write
12+
actions: read
1313
security-events: write
1414

1515
env:
@@ -36,7 +36,7 @@ jobs:
3636
echo "[+] Finished installing opengrep"
3737
3838
- name: "Run Opengrep"
39-
run: opengrep scan --metrics=off --sarif-output ./results.sarif .
39+
run: opengrep scan --metrics=on --sarif-output ./results.sarif .
4040

4141
- name: "Upload SARIF file"
4242
uses: github/codeql-action/upload-sarif@v3

0 commit comments

Comments
 (0)