Skip to content

Commit e9a1bf2

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/windows-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ on:
33
push:
44
pull_request:
55
types: [ opened ]
6+
permissions:
7+
contents: read
68
concurrency:
79
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
810
cancel-in-progress: true

0 commit comments

Comments
 (0)