Skip to content

Commit 90cb37b

Browse files
committed
ci: add permissions section to backend and frontend test workflows
1 parent f2c7113 commit 90cb37b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/backend-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- 'db_connector/**'
1515
- '.github/workflows/backend-tests.yml'
1616

17+
permissions:
18+
contents: read
19+
1720
jobs:
1821
test:
1922
runs-on: ubuntu-latest

.github/workflows/frontend-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- 'frontend/**'
1313
- '.github/workflows/frontend-tests.yml'
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
test:
1720
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)