Skip to content

Commit 9c9aadc

Browse files
author
Ariel Kass
committed
add permissions clause to workflows
Signed-off-by: Ariel Kass <[email protected]>
1 parent d508471 commit 9c9aadc

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.github/workflows/codespell.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
branches:
99
- '*'
10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
codespell:
1215
name: codespell

.github/workflows/docker-publish.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
tags:
55
- 'v*'
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
push:
912
name: Push Image

.github/workflows/docker-push.yaml

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

8+
permissions:
9+
contents: read
10+
811
jobs:
912
push:
1013
name: Push Image

.github/workflows/test-and-build.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
branches: [ '*' ]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
test:
912
name: test and build

0 commit comments

Comments
 (0)