Skip to content

Commit 7533968

Browse files
authored
Add permissions and in-line PR comment option to opengrep.yml (#21)
1 parent 43e433d commit 7533968

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/opengrep.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
permissions:
88
contents: read
9+
pull-requests: write
910

1011
# Do NOT use cancel-in-progress — it breaks required workflow checks.
1112

@@ -16,3 +17,5 @@ jobs:
1617
steps:
1718
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1819
- uses: temporalio/public-actions/sast/opengrep@main
20+
with:
21+
pr-comments: 'true'

0 commit comments

Comments
 (0)