Skip to content

Commit 844db46

Browse files
authored
ci: scope down GitHub Token permissions (#85)
* ci: scope down permissions for release.yaml * ci: scope down permissions for unit-tests.yaml
1 parent cd5336f commit 844db46

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches:
77
- master
8+
permissions:
9+
contents: write
10+
811
jobs:
912
release:
1013
name: Release Version

.github/workflows/unit-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- opened
1111
- edited
1212
- synchronize
13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
unit_tests:
1518
name: Unit tests

0 commit comments

Comments
 (0)