Skip to content

Commit 92d259d

Browse files
authored
build(ci): adds workflow permissions
1 parent d11e64c commit 92d259d

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/buildx.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- master
99
pull_request:
1010

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

‎.github/workflows/dockerimage.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
pull_request:
88
workflow_dispatch:
99

10+
permissions:
11+
contents: read
12+
1013
jobs:
1114
build:
1215
runs-on: ubuntu-latest

‎.github/workflows/hadolint.yml‎

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
build:
1114
runs-on: macos-latest

0 commit comments

Comments
 (0)