-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (32 loc) · 1015 Bytes
/
super-linter.yml
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
---
name: Super Linter
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
pull_request:
types: [assigned, opened, edited, synchronize, reopened]
pull_request_target:
types: [assigned, opened, edited, synchronize, reopened]
jobs:
build:
name: Lint Code Base
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
- name: Super-Linter
uses: github/super-linter/slim@v6
env:
VALIDATE_ALL_CODEBASE: true
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: (doc/content/.*|dse/network/examples/stub/.*|extra/tools/network/vendor/.*)
VALIDATE_CPP: true
VALIDATE_DOCKERFILE: true
# VALIDATE_GO: true
VALIDATE_MARKDOWN: true
VALIDATE_PYTHON_PYLINT: true
VALIDATE_PYTHON_FLAKE8: true
VALIDATE_YAML: true