Skip to content

Commit e17745c

Browse files
authored
Merge pull request #977 from adamralph/upgrade-super-linter
upgrade super-linter from 5.0.0 to 6.3.0
2 parents 11c0e64 + 74fa04d commit e17745c

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches: [main, release-*]
55
pull_request:
6+
permissions: read-all
67
env:
78
DOTNET_NOLOGO: true
89
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

.github/workflows/codeql-analysis.yml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ on:
2020
schedule:
2121
- cron: '43 4 * * 0'
2222

23+
permissions: read-all
24+
2325
jobs:
2426
analyze:
2527
name: Analyze

.github/workflows/infer-sharp.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches: [main, release-*]
55
pull_request:
6+
permissions: read-all
67
jobs:
78
infer-sharp:
89
runs-on: ubuntu-latest

.github/workflows/lint.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,22 @@ on:
33
push:
44
branches: [main, release-*]
55
pull_request:
6+
permissions: read-all
67
jobs:
78
lint:
89
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
packages: read
13+
statuses: write
914
steps:
1015
- uses: actions/checkout@v4.1.1
11-
- uses: github/super-linter@v5.0.0
16+
with:
17+
fetch-depth: 0
18+
filter: tree:0
19+
- uses: super-linter/super-linter@v6.3.0
1220
env:
21+
DEFAULT_BRANCH: main
1322
FILTER_REGEX_EXCLUDE: \bcodeql-analysis\.yml$|\bLICENSE$|\bversions\.txt$
1423
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1524
VALIDATE_SHELL_SHFMT: false

.github/workflows/release.yml

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: release
22
on:
33
push:
44
tags: ["*.*.*"]
5+
permissions: read-all
56
env:
67
DOTNET_NOLOGO: true
78
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

.github/workflows/spell-check.yml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches: [main, release-*]
55
pull_request:
6+
permissions: read-all
67
jobs:
78
spell-check:
89
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)