Skip to content

Commit 8babfd4

Browse files
authored
Merge pull request #134 from dh-tech/alert-autofix-2
Potential fix for code scanning alert no. 2: Workflow does not contain permissions
2 parents 312dbf3 + f615ea1 commit 8babfd4

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: Check style + docs + types
33
on:
44
pull_request:
55

6+
permissions:
7+
contents: read
8+
69
jobs:
710
check:
811
runs-on: ubuntu-latest

.github/workflows/unit_tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: unit tests
22

3+
permissions:
4+
contents: read
5+
id-token: write
6+
37
on:
48
push:
59
branches:

0 commit comments

Comments
 (0)