From ad09d38fe7bba08eca03adcf08c1f18e9c010c51 Mon Sep 17 00:00:00 2001 From: Martin Bjeldbak Madsen Date: Sat, 4 May 2024 19:45:31 +1000 Subject: [PATCH] Add required permissions for super-linter v6 --- .github/workflows/linter.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index e729661..eefc016 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -8,6 +8,13 @@ jobs: build: name: Lint Code Base runs-on: ubuntu-latest + + permissions: + contents: read + packages: read + # To report GitHub Actions status checks + statuses: write + steps: - name: Checkout repository uses: actions/checkout@v4 @@ -17,4 +24,4 @@ jobs: - name: Lint Code Base uses: github/super-linter@v6 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file