-
Notifications
You must be signed in to change notification settings - Fork 12
30 lines (28 loc) · 1.36 KB
/
static-analysis.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
name: Static analysis
on:
- pull_request
- push
jobs:
super-linter:
name: Run Super-Linter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Run Super-Linter
uses: github/super-linter/[email protected]
env:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ANSIBLE: false # already configured in aws-ansible workflow; could be enabled here separately
VALIDATE_KUBERNETES_KUBEVAL: false # multiple issues - could be introduced separately
VALIDATE_MARKDOWN: false # multiple issues - could be introduced separately
VALIDATE_NATURAL_LANGUAGE: false # multiple issues - could be introduced separately
VALIDATE_PYTHON_BLACK: false # multiple issues - could be introduced separately
VALIDATE_PYTHON_FLAKE8: false # multiple issues - could be introduced separately
VALIDATE_PYTHON_ISORT: false # multiple issues - could be introduced separately
VALIDATE_TERRAFORM_TERRASCAN: false # multiple issues - could be introduced separately
VALIDATE_TERRAFORM_TFLINT: false # already configured in terraform workflows; could be enabled here separately