Skip to content

Commit 284a0f2

Browse files
Copilottorosent
andcommitted
Add top-level permissions: {} to codeQL.yml workflow for least-privilege security
Co-authored-by: torosent <17064840+torosent@users.noreply.github.com>
1 parent fd1534d commit 284a0f2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/codeQL.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
workflow_call: # allows to be invoked as part of a larger workflow
1515
workflow_dispatch: # allows for the workflow to run manually see: https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow
1616

17+
permissions: {}
18+
1719
env:
1820
solution: DurableTask.sln
1921
config: Release

0 commit comments

Comments
 (0)