Skip to content

Commit 924049f

Browse files
authored
Update super-linter.yml (#296)
1 parent 14cc53f commit 924049f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/super-linter.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,28 @@ name: Super-Linter
22

33
on: [pull_request]
44

5+
permissions: {}
6+
57
jobs:
68
build:
79
name: Run Super-Linter
810
runs-on: ubuntu-latest
11+
permissions:
12+
# contents permission to clone the repository
13+
contents: read
914
steps:
10-
- uses: actions/checkout@v6
15+
- name: Checkout Code
16+
uses: actions/checkout@v6
1117
with:
1218
# super-linter needs the full git history to get the
1319
# list of files that changed across commits
1420
fetch-depth: 0
1521
persist-credentials: false
16-
- uses: super-linter/super-linter@v8.3.2
22+
- name: Super-Linter
23+
uses: super-linter/super-linter@v8.3.2
1724
env:
1825
ERROR_ON_MISSING_EXEC_BIT: true
1926
VALIDATE_EDITORCONFIG: true
27+
VALIDATE_MARKDOWN: true
2028
VALIDATE_YAML: true
2129
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)