ca2c895e99
Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
29 lines
790 B
YAML
29 lines
790 B
YAML
---
|
|
|
|
name: "Code Quality: Super-Linter"
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
superlinter:
|
|
name: Super-Linter
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Repository
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
with:
|
|
# Full git history is needed to get a proper list of changed files within `super-linter`
|
|
fetch-depth: 0
|
|
|
|
- name: Lint Code with Super-Linter
|
|
uses: github/super-linter/slim@4e51915f4a812abf59fed160bb14595c0a38a9e7 # v6
|
|
env:
|
|
VALIDATE_ALL_CODEBASE: true
|
|
DEFAULT_BRANCH: "main"
|
|
DISABLE_ERRORS: false
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
JAVASCRIPT_DEFAULT_STYLE: "prettier"
|
|
VALIDATE_JSON: true
|
|
VALIDATE_MD: true
|