Skip to content

Commit e9a4ce0

Browse files
authored
Merge pull request #98 from aquariophilie/feature/update-superlinter
Update superlinter.yml
2 parents 989d841 + f3c3b16 commit e9a4ce0

File tree

1 file changed

+43
-20
lines changed

1 file changed

+43
-20
lines changed

.github/workflows/superlinter.yml

Lines changed: 43 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,55 @@
1-
name: Super-Linter
1+
---
2+
#################################
3+
#################################
4+
## Super Linter GitHub Actions ##
5+
#################################
6+
#################################
7+
name: Lint Code Base
28

3-
# Run this workflow every time a new commit pushed to your repository
4-
on: push
9+
#
10+
# Documentation:
11+
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
12+
#
513

14+
#############################
15+
# Start the job on all push #
16+
#############################
17+
on:
18+
push:
19+
branches-ignore: [master, main]
20+
# Remove the line above to run when pushing to master
21+
pull_request:
22+
branches: [master, main]
23+
24+
###############
25+
# Set the Job #
26+
###############
627
jobs:
7-
# Set the job key. The key is displayed as the job name
8-
# when a job name is not provided
9-
super-lint:
28+
build:
1029
# Name the Job
11-
name: Lint code base
12-
# Set the type of machine to run on
30+
name: Lint Code Base
31+
# Set the agent to run on
1332
runs-on: ubuntu-latest
1433

34+
##################
35+
# Load all steps #
36+
##################
1537
steps:
16-
# Checks out a copy of your repository on the ubuntu-latest machine
17-
- name: Checkout code
38+
##########################
39+
# Checkout the code base #
40+
##########################
41+
- name: Checkout Code
1842
uses: actions/checkout@v2
43+
with:
44+
# Full git history is needed to get a proper list of changed files within `super-linter`
45+
fetch-depth: 0
1946

20-
# Runs the Super-Linter action
21-
- name: Run Super-Linter
22-
uses: github/super-linter@v3
47+
################################
48+
# Run Linter against code base #
49+
################################
50+
- name: Lint Code Base
51+
uses: github/super-linter@v4
2352
env:
53+
VALIDATE_ALL_CODEBASE: false
2454
DEFAULT_BRANCH: main
2555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26-
# Uncomment to exclude files from analysis
27-
# Skip .vscode/*.json (JSON files with comments not yet supported - see https://github.com/github/super-linter/issues/921)
28-
FILTER_REGEX_EXCLUDE: .*vscode/.*.json
29-
VALIDATE_TYPESCRIPT_STANDARD: false
30-
VALIDATE_MARKDOWN: false
31-
32-
# EOF

0 commit comments

Comments
 (0)