Skip to content

Commit e72cc34

Browse files
committed
Bump super-linter from 5 to 7
1 parent d948a93 commit e72cc34

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

.github/workflows/super-linter.yml

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,36 @@
33
#
44
# You can adjust the behavior by modifying this file.
55
# For more information, see:
6-
# https://github.com/github/super-linter
6+
# https://github.com/super-linter/super-linter
77
name: Lint Code Base
88

9-
on:
10-
push:
11-
branches: [main]
12-
pull_request:
13-
branches: [main]
9+
on: # yamllint disable-line rule:truthy
10+
push: null
11+
pull_request: null
12+
13+
permissions: {}
14+
1415
jobs:
15-
run-lint:
16+
build:
17+
name: Lint
1618
runs-on: ubuntu-latest
19+
20+
permissions:
21+
contents: read
22+
packages: read
23+
# To report GitHub Actions status checks
24+
statuses: write
25+
1726
steps:
1827
- name: Checkout code
19-
uses: actions/checkout@v4.1.1
28+
uses: actions/checkout@v4
2029
with:
21-
# Full git history is needed to get a proper list of changed files within `super-linter`
30+
# super-linter needs the full git history to get the
31+
# list of files that changed across commits
2232
fetch-depth: 0
2333

24-
- name: Lint Code Base
25-
uses: github/super-linter@v7
34+
- name: Super-linter
35+
uses: super-linter/super-linter@v7.1.0 # x-release-please-version
2636
env:
27-
VALIDATE_ALL_CODEBASE: false
28-
DEFAULT_BRANCH: main
37+
# To report GitHub Actions status checks
2938
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)