Skip to content

Commit e2b0c4b

Browse files
committed
ci(lint.yaml): add GitHub Actions workflow for code linting using Super-Linter to ensure code quality and consistency across the codebase
1 parent 0d4e7d6 commit e2b0c4b

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/lint.yaml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Super-Linter
2+
on: [push, pull_request, workflow_dispatch]
3+
jobs:
4+
lint:
5+
runs-on: ubuntu-latest
6+
7+
steps:
8+
- name: Checkout Code
9+
uses: actions/checkout@v3
10+
with:
11+
fetch-depth: 0
12+
13+
- name: Lint Code Base
14+
uses: github/super-linter@v4
15+
env:
16+
VALIDATE_ALL_CODEBASE: true
17+
VALIDATE_MARKDOWN_PRETTIER: true
18+
VALIDATE_GITLEAKS: true
19+
VALIDATE_GITHUB_ACTIONS: true
20+
VALIDATE_LUA: true
21+
VALIDATE_YAML: true
22+
VALIDATE_YAML_PRETTIER: true
23+
# FIX_PYTHON_RUFF: true
24+
# VALIDATE_PYTHON_RUFF: true
25+
# FIX_TYPESCRIPT_ES: true
26+
# VALIDATE_TYPESCRIPT_ES: true
27+
# VALIDATE_DOCKERFILE_HADOLINT: true
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)