Skip to content

Commit 0733495

Browse files
authored
Merge pull request #372 from github-community-projects/jm_add_missing_workflows_permissions
fix: add permissions to actions workflows where missing
2 parents ae276a7 + c9353be commit 0733495

4 files changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/build.yml

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

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

.github/workflows/docker-build.yml

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

10+
permissions:
11+
contents: read
12+
packages: write
13+
1014
jobs:
1115
docker-build:
1216
runs-on: ubuntu-latest

.github/workflows/lint.yml

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

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

.github/workflows/tests.yml

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

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

0 commit comments

Comments
 (0)