Skip to content

Commit b69e4b6

Browse files
committed
chore(github): add workflow permissions
1 parent d137395 commit b69e4b6

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
id-token: write
10+
contents: write
11+
pull-requests: write
12+
813
jobs:
914
deploy:
1015
name: deploy-prod

.github/workflows/pr-deploy.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
id-token: write
10+
contents: write
11+
pull-requests: write
12+
813
jobs:
914
remove:
1015
name: deploy-pr-preview

.github/workflows/pr-remove.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
types:
66
- closed
77

8+
permissions:
9+
id-token: write
10+
contents: write
11+
pull-requests: write
12+
813
jobs:
914
remove:
1015
name: remove-pr-preview

0 commit comments

Comments
 (0)