-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcy.yml
More file actions
40 lines (32 loc) · 915 Bytes
/
cy.yml
File metadata and controls
40 lines (32 loc) · 915 Bytes
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
name: Lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
super-linter:
name: GitHub Super-Linter
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run Super-Linter
uses: github/super-linter/slim@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Branch reference
DEFAULT_BRANCH: "main"
# Workspace
DEFAULT_WORKSPACE: ${{ github.workspace }}
# Enable useful linters for documentation
VALIDATE_MARKDOWN: true
VALIDATE_YAML: true
VALIDATE_JSON: true
VALIDATE_HTML: true
# Disable languages you don't need
VALIDATE_JAVASCRIPT_ES: false
VALIDATE_PYTHON: false
VALIDATE_RUBY: false
VALIDATE_CSS: false
VALIDATE_PHP: false