Skip to content

Commit c467cf5

Browse files
Add explicit permissions block for security best practices
Co-authored-by: OneSizeFitsQuorum <[email protected]>
1 parent 7841660 commit c467cf5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/vulnerability-check.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
dependency-check:
1818
if: ${{ github.event_name == 'workflow_dispatch' || github.repository == 'apache/iotdb' }}
1919
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
2022

2123
steps:
2224
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)