Skip to content

Commit e0932cb

Browse files
committed
ci(fortress): update permissions for security scans job
1 parent 5f28ff3 commit e0932cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/fortress.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ jobs:
167167
needs.setup.outputs.is-fork-pr != 'true'
168168
permissions:
169169
contents: read # Read repository content for security scanning
170+
pull-requests: write # Required: gitleaks needs to create PR comments
170171
uses: ./.github/workflows/fortress-security-scans.yml
171172
with:
172173
env-json: ${{ needs.load-env.outputs.env-json }}

0 commit comments

Comments
 (0)