Skip to content

Commit c19facf

Browse files
committed
More lint changes
1 parent b95544a commit c19facf

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

.github/workflows/lint.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ on:
1515
- '.nuget/*'
1616
- build/*.ps1
1717

18-
permissions:
19-
contents: read
18+
permissions: {}
2019

2120
jobs:
2221
analyze:
2322
permissions:
2423
contents: read
25-
security-events: write
26-
actions: read
24+
packages: read
25+
statuses: write
2726
name: Lint
2827
runs-on: ubuntu-latest
2928

@@ -34,9 +33,13 @@ jobs:
3433
fetch-depth: 0
3534

3635
- name: Lint Code Base
37-
uses: super-linter/super-linter@12150456a73e248bdc94d0794898f94e23127c88 # v7.4.0
36+
uses: super-linter/super-linter/slim@12150456a73e248bdc94d0794898f94e23127c88 # v7.4.0
3837
env:
3938
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
IGNORE_GITIGNORED_FILES: true
40+
VALIDATE_ALL_CODEBASE: true
4041
LINTER_RULES_PATH: /
42+
VALIDATE_EDITORCONFIG: true
4143
EDITORCONFIG_FILE_NAME: .editorconfig
42-
IGNORE_GITIGNORED_FILES: true
44+
VALIDATE_CLANG_FORMAT: false
45+
VALIDATE_CPP: true

.github/workflows/wsl.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323
- '.nuget/*'
2424
- build/*.ps1
2525

26+
permissions:
27+
contents: read
28+
2629
jobs:
2730
build:
2831
runs-on: ubuntu-latest

.github/workflows/wslcxx.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323
- '.nuget/*'
2424
- build/*.ps1
2525

26+
permissions:
27+
contents: read
28+
2629
jobs:
2730
build:
2831
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)