Skip to content

Commit 02ba168

Browse files
committed
Set permissions for lint and deploy jobs
1 parent ac599a4 commit 02ba168

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
lint:
2121
name: Run linters
2222
runs-on: ubuntu-latest
23+
permissions:
24+
contents: write
25+
pull-requests: write
26+
repository-projects: write
2327

2428
steps:
2529
- name: Check out Git repository
@@ -45,6 +49,10 @@ jobs:
4549
deploy:
4650
needs: lint
4751
runs-on: ubuntu-latest
52+
permissions:
53+
contents: write
54+
pull-requests: write
55+
repository-projects: write
4856
env:
4957
NODE_ENV: production
5058
strategy:

0 commit comments

Comments
 (0)