Skip to content

Commit 38fc970

Browse files
authored
Merge pull request #438 from obytes/fix-checks-permissions
Added permissions for lint & type check workflows
2 parents aca9468 + 80db1f4 commit 38fc970

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

.github/workflows/expo-doctor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ on:
2323
- 'package.json'
2424
- 'pnpm-lock.yaml'
2525

26+
permissions:
27+
contents: read
28+
pull-requests: write
29+
2630
jobs:
2731
doctor:
2832
name: Expo Doctor (expo)

.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
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/stale.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
schedule:
55
- cron: '0 0 * * *'
66

7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
711
jobs:
812
stale:
913
runs-on: ubuntu-latest

.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
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)