Skip to content

Commit 5b4fb63

Browse files
committed
Define top level Permission for dockerhub-latest-chart.yml (latest chart to Dockerhub) workflow
Signed-off-by: aditya7302 <[email protected]>
1 parent 39a667e commit 5b4fb63

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/dockerhub-latest-chart.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
branches:
55
- master
6+
7+
permissions: read-all
8+
69
jobs:
710
publish-chart-to-dockerhub:
811
name: publish to DockerHub

.github/workflows/lint-chart.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ on:
1717
paths:
1818
- "charts/**"
1919

20-
permissions:
21-
contents: read # Required by actions/checkout@v4 to fetch the repository contents.
22-
statuses: write # Necessary to update the status of workflow runs.
23-
2420
jobs:
2521
chart-lint-test:
2622
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)