From 2b71c3c3eb4ae6e7297662271569e4d91b872fbd Mon Sep 17 00:00:00 2001 From: Wayback Archiver <66856220+waybackarchiver@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:56:48 +0000 Subject: [PATCH] super-linter: fix permission --- .github/workflows/reusable-super-linter.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/reusable-super-linter.yml b/.github/workflows/reusable-super-linter.yml index a8cfab6..1fc59cf 100644 --- a/.github/workflows/reusable-super-linter.yml +++ b/.github/workflows/reusable-super-linter.yml @@ -25,12 +25,13 @@ on: permissions: contents: read - packages: read - statuses: write jobs: super-linter: runs-on: ubuntu-latest + permissions: + packages: read + statuses: write steps: - name: Harden Runner uses: step-security/harden-runner@1f99358870fe1c846a3ccba386cc2b2246836776 # v2.2.1 @@ -79,6 +80,3 @@ jobs: VALIDATE_DOCKERFILE: true VALIDATE_BASH: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - permissions: - packages: read - statuses: write