Skip to content

Commit

Permalink
super-linter: fix permission
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Feb 13, 2024
1 parent f271c47 commit 4261ffa
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/reusable-super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,15 @@ 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
Expand Down Expand Up @@ -67,9 +72,6 @@ jobs:
VALIDATE_DOCKERFILE: true
VALIDATE_BASH: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
packages: read
statuses: write

- name: Lint Code Base
uses: super-linter/super-linter@ff5037c06042e564803502feb97f8a686f3b0171 # v6.0.0
Expand All @@ -80,6 +82,3 @@ jobs:
VALIDATE_DOCKERFILE: true
VALIDATE_BASH: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
packages: read
statuses: write

0 comments on commit 4261ffa

Please sign in to comment.