mirror of
https://github.com/wahyd4/helm-charts.git
synced 2026-08-09 04:26:02 +10:00
https://github.com/github/super-linter/blob/master/action.yml The GitHub action refers to the v3 tag of the docker image: ```yaml name: 'Super-Linter' author: 'GitHub' description: 'It is a simple combination of various linters, written in bash, to help validate your source code.' runs: using: 'docker' image: 'docker://ghcr.io/github/super-linter:v3' branding: icon: 'check-square' color: 'white' ``` It's a floating tag as one can check in https://hub.docker.com/r/github/super-linter/tags Kubeval was added in https://github.com/github/super-linter/releases/tag/v3.11.0 Signed-off-by: Torsten Walter <mail@torstenwalter.de>
27 lines
705 B
YAML
27 lines
705 B
YAML
name: Lint Code Base
|
|
|
|
# Documentation:
|
|
# https://help.github.com/en/articles/workflow-syntax-for-github-actions
|
|
|
|
on: pull_request
|
|
|
|
jobs:
|
|
build:
|
|
name: Lint Code Base
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2
|
|
- name: Lint Code Base
|
|
uses: docker://github/super-linter:v3.12.0
|
|
env:
|
|
VALIDATE_ALL_CODEBASE: false
|
|
VALIDATE_BASH: false
|
|
VALIDATE_PYTHON: false
|
|
VALIDATE_PYTHON_FLAKE8: false
|
|
VALIDATE_PYTHON_BLACK: false
|
|
VALIDATE_KUBERNETES_KUBEVAL: false
|
|
VALIDATE_YAML: false
|
|
DEFAULT_BRANCH: main
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|