Skip to content

Commit 2a64f66

Browse files
fix: add explicit permissions to validate-renovate workflow
Adds minimal read-only permissions to follow the principle of least privilege. This workflow only validates Renovate config and doesn't need any write access. Fixes code scanning alert finos#41 (CWE-275)
1 parent 5548fa6 commit 2a64f66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/validate-renovate.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Validate Renovate Configuration
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
paths:

0 commit comments

Comments
 (0)