Skip to content

Commit 8ef1768

Browse files
committed
ci: Add required permissions to workflow files
1 parent f42596f commit 8ef1768

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build.yml

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

7+
# No permissions are required for this workflow
8+
permissions: {}
9+
710
env:
811
HUSKY_SKIP: true
912

.github/workflows/deploy.yml

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

7+
permissions:
8+
contents: write
9+
710
env:
811
HUSKY_SKIP: true
912

0 commit comments

Comments
 (0)