Define top level Permission for lint-chart.yaml (Chart Lint) workflow

Signed-off-by: aditya7302 <aditya7302@gmail.com>
This commit is contained in:
aditya7302 2024-06-22 12:40:10 +05:30
parent 5e354971c7
commit 39a667ed5f
1 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,10 @@ on:
paths: paths:
- "charts/**" - "charts/**"
permissions:
contents: read # Required by actions/checkout@v4 to fetch the repository contents.
statuses: write # Necessary to update the status of workflow runs.
jobs: jobs:
chart-lint-test: chart-lint-test:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04