Skip to content

Commit 7e7d158

Browse files
committed
chore(checks): added permissions for lint & type check workflows
1 parent aca9468 commit 7e7d158

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/lint-ts.yml

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
pull_request:
1919
branches: [main, master]
2020

21+
permissions:
22+
contents: read
23+
pull-requests: write
24+
2125
jobs:
2226
lint:
2327
name: Lint TS (eslint, prettier)

.github/workflows/type-check.yml

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
pull_request:
1919
branches: [main, master]
2020

21+
permissions:
22+
contents: read
23+
pull-requests: write
24+
2125
jobs:
2226
type-check:
2327
name: Type Check (tsc)

0 commit comments

Comments
 (0)