Skip to content

Commit

Permalink
Add required permissions for super-linter v6
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbjeldbak committed May 4, 2024
1 parent 585fa68 commit ad09d38
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit ad09d38

Please sign in to comment.