Skip to content

Commit 34dc650

Browse files
committed
.github: add explicit permissions to workflow for security compliance
Specifically: - Sets minimal required permissions for actions - Prevents workflows from running with unnecessarily elevated privileges - Prepares for compatibility with future GitHub enforcement policies Signed-off-by: Srikanth Muppandam <[email protected]>
1 parent 7433bb9 commit 34dc650

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/preflight-checker-workflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
branches: [ "main" ]
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
security-events: write
12+
913
jobs:
1014
checker:
1115
uses: qualcomm-linux/qli-actions/.github/workflows/multi-checker.yml@main

0 commit comments

Comments
 (0)