-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (49 loc) · 1.59 KB
/
Copy pathlint.yml
File metadata and controls
55 lines (49 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
name: Files
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
read-all
jobs:
lint:
name: Lint
runs-on: ubuntu-24.04
permissions:
contents: read
packages: read
# To report GitHub Actions status checks
statuses: write
# To post pull request review comments
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0
- name: Lint Codebase
uses: super-linter/super-linter/slim@4ce20838b8ab83717e78138c5b3a1407148e0918 # v8.7.0
env:
DEFAULT_BRANCH: origin/main
# To report GitHub Actions status checks
VALIDATE_ALL_CODEBASE: true
VALIDATE_CSS: true
VALIDATE_DOCKERFILE_HADOLINT: true
VALIDATE_GITLEAKS: true
VALIDATE_GITHUB_ACTIONS: true
VALIDATE_HTML: true
VALIDATE_MARKDOWN: true
VALIDATE_PYTHON_BLACK: true
VALIDATE_PYTHON_ISORT: true
VALIDATE_YAML: true
VALIDATE_JAVASCRIPT_PRETTIER: true
# To find and set more language specific linters
# Find VALIDATE_ALL_CODEBASE on this page:
# https://github.com/super-linter/super-linter
FILTER_REGEX_EXCLUDE: ".app/static/qrcode.min.js"
# Excluding min.js file as not compatible with prettier linter
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}