Skip to content

Commit 58c8dc1

Browse files
authored
Merge pull request #81 from rootstrap/fix/ci_status_check_workflows_permissions
fix(ci): status check workflows permissions
2 parents 2b34cfb + 4440645 commit 58c8dc1

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/lint-ts.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
lint:
2323
name: Lint TS (eslint, prettier)
2424
runs-on: ubuntu-latest
25+
permissions:
26+
contents: read
27+
pull-requests: write
2528

2629
steps:
2730
- name: 📦 Checkout project repo

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
test:
2323
name: Tests (jest)
2424
runs-on: ubuntu-latest
25+
permissions:
26+
contents: read
27+
pull-requests: write
2528

2629
steps:
2730
- name: 📦 Checkout project repo

.github/workflows/type-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
type-check:
2323
name: Type Check (tsc)
2424
runs-on: ubuntu-latest
25+
permissions:
26+
contents: read
27+
pull-requests: write
28+
2529
steps:
2630
- name: 📦 Checkout project repo
2731
uses: actions/checkout@v3

0 commit comments

Comments
 (0)