Skip to content

Commit 51ccf14

Browse files
committed
Bump super-linter from 5 to 7
1 parent a0d4fd1 commit 51ccf14

File tree

1 file changed

+22
-19
lines changed

1 file changed

+22
-19
lines changed

.github/workflows/super-linter.yml

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
1-
# This workflow executes several linters on changed files based on languages used in your code base whenever
2-
# you push a code or open a pull request.
3-
#
4-
# You can adjust the behavior by modifying this file.
5-
# For more information, see:
6-
# https://github.com/github/super-linter
7-
name: Lint Code Base
1+
name: Lint
2+
3+
on: # yamllint disable-line rule:truthy
4+
push: null
5+
pull_request: null
6+
7+
permissions: {}
88

9-
on:
10-
push:
11-
branches: [main]
12-
pull_request:
13-
branches: [main]
149
jobs:
15-
run-lint:
10+
build:
11+
name: Lint
1612
runs-on: ubuntu-latest
13+
14+
permissions:
15+
contents: read
16+
packages: read
17+
# To report GitHub Actions status checks
18+
statuses: write
19+
1720
steps:
1821
- name: Checkout code
19-
uses: actions/checkout@v4.1.1
22+
uses: actions/checkout@v4
2023
with:
21-
# Full git history is needed to get a proper list of changed files within `super-linter`
24+
# super-linter needs the full git history to get the
25+
# list of files that changed across commits
2226
fetch-depth: 0
2327

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

0 commit comments

Comments
 (0)