Skip to content

Commit 2c5a9bf

Browse files
authored
Merge pull request #64 from GFDRR/js/add_workflow_permissions
Add permissions section to unit tests workflow
2 parents bede6db + 534c40d commit 2c5a9bf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
813
jobs:
914
build:
1015
runs-on: ubuntu-latest

.github/workflows/unittests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- dev_push
1111
- main
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
test:
1518
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)