Skip to content

Commit b054544

Browse files
author
Ariel Kass
committed
add permissions to workflows
Signed-off-by: Ariel Kass <arielk@il.ibm.com>
1 parent d9a0ad8 commit b054544

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
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ '*' ]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
codespell:
1114
name: codespell

.github/workflows/commitlint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: commitlint
22

33
on: workflow_dispatch
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
commitlint:
710
name: commitlint

.github/workflows/golangci-lint.yaml

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
golangci-lint:
1114
name: golangci-lint

.github/workflows/iso-ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
release:
99
types: [ published ]
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
precheck-and-build:
1316
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)