Skip to content

Commit e43f052

Browse files
committed
update the GH actions linter workflow
1 parent b6403d5 commit e43f052

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/linter.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ jobs:
3030
# Set the agent to run on
3131
runs-on: ubuntu-latest
3232

33+
permissions:
34+
contents: read
35+
packages: read
36+
# To report GitHub Actions status checks
37+
statuses: write
38+
3339
##################
3440
# Load all steps #
3541
##################
@@ -47,7 +53,7 @@ jobs:
4753
# Run Linter against code base #
4854
################################
4955
- name: Lint Code Base
50-
uses: super-linter/super-linter/slim@v6
56+
uses: super-linter/super-linter/slim@v7
5157
env:
5258
LINTER_RULES_PATH: "."
5359
VALIDATE_ALL_CODEBASE: false
@@ -63,7 +69,7 @@ jobs:
6369
VALIDATE_YAML: false
6470
# Run specific linters and only output warnings. Each linter run here should not be run in the action above.
6571
- name: Lint Code Base for Warnings
66-
uses: super-linter/super-linter/slim@v6
72+
uses: super-linter/super-linter/slim@v7
6773
env:
6874
LINTER_RULES_PATH: "."
6975
VALIDATE_ALL_CODEBASE: false

0 commit comments

Comments
 (0)