Skip to content

Commit c19a607

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

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ on:
1919
jobs:
2020
validate:
2121
runs-on: ubuntu-latest
22+
permissions:
23+
contents: read
2224
outputs:
2325
version: ${{ steps.validate.outputs.version }}
2426
tag: ${{ steps.validate.outputs.tag }}
@@ -38,6 +40,8 @@ jobs:
3840
build-desktop:
3941
needs: validate
4042
runs-on: windows-latest
43+
permissions:
44+
contents: read
4145

4246
steps:
4347
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)