Skip to content

Commit 1ef8257

Browse files
committed
Update workflow permissions
1 parent 15b7658 commit 1ef8257

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848

4949
permissions:
5050
checks: write
51+
contents: write
5152

5253
env:
5354
Configuration: Release

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ on:
88
jobs:
99
publish:
1010
runs-on: windows-latest
11+
permissions: write-all
1112

1213
steps:
14+
- uses: GitHubSecurityLab/actions-permissions/monitor@v1
15+
with:
16+
config: ${{ vars.PERMISSIONS_CONFIG }}
1317

1418
- name: Download Assets
1519
uses: i3h/download-release-asset@v1.3.3

0 commit comments

Comments
 (0)