Skip to content

Commit 8c878ea

Browse files
Set workflow permissions
1 parent 9380e13 commit 8c878ea

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
push:
55
branches: [ develop, main ]
66

7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
checks: write
11+
id-token: write
12+
713
jobs:
814
build:
915
runs-on: windows-latest

.github/workflows/deploy-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: "Deploy Release"
33
on:
44
workflow_dispatch: # manual trigger
55

6+
permissions:
7+
contents: read
8+
pull-requests: write
9+
checks: write
10+
id-token: write
11+
612
jobs:
713
build:
814
runs-on: windows-latest

0 commit comments

Comments
 (0)