Merge pull request #701 from rokath/dependabot/github_actions/actions⦠#413
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Super Linter | |
| # Run this workflow every time a new commit pushed to your repository | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| workflow_dispatch: | |
| jobs: | |
| # Set the job key. The key is displayed as the job name when a job name is not provided | |
| lint: | |
| # Name the Job | |
| name: Lint code base | |
| # Set the type of machine to run on | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| statuses: write | |
| steps: | |
| # Checks out a copy of your repository on the ubuntu-latest machine | |
| - name: Checkout code | |
| uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Run Super-Linter | |
| uses: super-linter/super-linter@v8.7.0 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| DEFAULT_BRANCH: main | |
| # LOG_LEVEL: DEBUG | |
| LINTER_RULES_PATH: . | |
| MARKDOWN_CONFIG_FILE: .markdownlint.yaml | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # GLOBAL SETTINGS | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # If TRUE β entire codebase is always scanned | |
| # If FALSE β only changed files are scanned (faster, less noisy) | |
| VALIDATE_ALL_CODEBASE: false | |
| # You may want this OFF while your repository is still noisy. | |
| # When TRUE, lint results will be posted as PR comments. | |
| COMMENT_ON_PR: false | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # LINTERS: FULL LIST | |
| # All available VALIDATE_* options are included below. | |
| # Only a *minimal subset* is set to true. | |
| # Everything else is explicitly disabled (false). | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # ------------------------- | |
| # MINIMAL ENABLED LINTERS | |
| # ------------------------- | |
| # Keep essential lightweight validators enabled: (white list mode) | |
| VALIDATE_MARKDOWN: true | |
| VALIDATE_YAML: true | |
| # (Optional: Add more here if needed) | |
| # VALIDATE_JSON: true | |
| # VALIDATE_BASH: true | |
| # ------------------------- | |
| # DISABLED LINTERS | |
| # ------------------------- | |
| # Languages | |
| # VALIDATE_CSHARP: true | |
| # VALIDATE_CPP: true | |
| # VALIDATE_C: true | |
| # VALIDATE_GO: true | |
| # VALIDATE_JAVA: true | |
| # VALIDATE_JAVASCRIPT_ES: true | |
| # VALIDATE_PERL: true | |
| # VALIDATE_PHP: true | |
| # VALIDATE_POWERSHELL: true | |
| # VALIDATE_PYTHON: true | |
| # VALIDATE_RUBY: true | |
| # VALIDATE_RUST: true | |
| # VALIDATE_TYPESCRIPT_ES: true | |
| # Shell / Bash-related | |
| # VALIDATE_BASH: true | |
| # VALIDATE_BASH_EXEC: true | |
| # VALIDATE_SHELL_SHFMT: true | |
| # VALIDATE_EDITORCONFIG: true | |
| # Infrastructure / Security | |
| # VALIDATE_CHECKOV: true | |
| # VALIDATE_TERRAFORM_TFLINT: true | |
| # VALIDATE_TERRAFORM_VALIDATE: true | |
| # VALIDATE_GITLEAKS: true | |
| # VALIDATE_TRIVY: true | |
| # Web-related | |
| # VALIDATE_HTML: true | |
| # VALIDATE_HTML_PRETTIER: true | |
| # VALIDATE_CSS: true | |
| # VALIDATE_JAVASCRIPT_PRETTIER: true | |
| # VALIDATE_JSON_PRETTIER: true | |
| # VALIDATE_YAML_PRETTIER: true | |
| # CI/CD / GitHub stuff | |
| # VALIDATE_GITHUB_ACTIONS: true | |
| # VALIDATE_GITHUB_ACTIONS_ZIZMOR: true | |
| # Documentation / prose | |
| # VALIDATE_MARKDOWN_PRETTIER: true | |
| # VALIDATE_NATURAL_LANGUAGE: true | |
| # Miscellaneous | |
| # VALIDATE_XML: true | |
| # VALIDATE_SQL: true | |
| # VALIDATE_DOCKERFILE: true | |
| # VALIDATE_JSCPD: true | |
| # VALIDATE_BIOME_LINT: true | |
| # VALIDATE_BIOME_FORMAT: true | |
| # VALIDATE_GO_MODULES: true | |
| # VALIDATE_GO_RELEASER: true | |
| # VALIDATE_PRE_COMMIT: true | |
| # Add any future validators here by following the same pattern. |