Skip to content

Commit 1be47ed

Browse files
Potential fix for code scanning alert no. 2: Workflow does not contain permissions (#188)
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent da6ead5 commit 1be47ed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/winget.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
jobs:
88
publish-winget:
99
name: Submit to WinGet repository
10+
permissions:
11+
contents: read
12+
pull-requests: write
1013

1114
# winget-create is only supported on Windows
1215
runs-on: windows-latest

0 commit comments

Comments
 (0)