Skip to content

Commit 6faa176

Browse files
kelmagasdolo
authored andcommitted
chore(checks): added permissions for lint & type check workflows
1 parent b476227 commit 6faa176

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/lint-ts.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
pull_request:
1919
types: [opened, synchronize]
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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
pull_request:
1919
types: [opened, synchronize]
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)