Skip to content

Commit 5d3a4c0

Browse files
authored
Merge pull request #20 from equinor/Specify-permission-in-Github-actions
Specify permission in Github actions
2 parents 36e23c7 + e56c997 commit 5d3a4c0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/codecov.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@ name: Run tests and upload coverage
33
on:
44
push
55

6+
permissions: {}
7+
68
jobs:
79
test:
10+
permissions:
11+
contents: read
12+
id-token: write
813
name: Run tests and collect coverage
914
runs-on: ubuntu-latest
1015
steps:

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
branches: [main]
66
types: [closed]
77

8+
permissions: {}
9+
810
jobs:
911
publish:
1012
permissions:

0 commit comments

Comments
 (0)