From 39a667ed5fa0199e115d023c50138ed45005d2fe Mon Sep 17 00:00:00 2001 From: aditya7302 Date: Sat, 22 Jun 2024 12:40:10 +0530 Subject: [PATCH] Define top level Permission for lint-chart.yaml (Chart Lint) workflow Signed-off-by: aditya7302 --- .github/workflows/lint-chart.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/lint-chart.yaml b/.github/workflows/lint-chart.yaml index 23e244600..34d19e9cc 100644 --- a/.github/workflows/lint-chart.yaml +++ b/.github/workflows/lint-chart.yaml @@ -17,6 +17,10 @@ on: paths: - "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: chart-lint-test: runs-on: ubuntu-22.04