From 9cbb4604ab67d4603280b8ac59a454020a882c86 Mon Sep 17 00:00:00 2001 From: Tilo Spannagel Date: Fri, 7 Aug 2020 17:55:57 +0200 Subject: [PATCH] Add Super-Linter Signed-off-by: Tilo Spannagel --- .github/workflows/linter.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/linter.yml diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml new file mode 100644 index 00000000..16b8a660 --- /dev/null +++ b/.github/workflows/linter.yml @@ -0,0 +1,23 @@ +name: Lint Code Base + +on: + pull_request: + push: + +jobs: + + build: + name: Lint Code Base + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Lint Code Base + uses: github/super-linter@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_BASH: true + VALIDATE_DOCKERFILE: true + VALIDATE_DOCKERFILE_HADOLINT: true + VALIDATE_ENV: true + VALIDATE_PHP_BUILTIN: true + VALIDATE_YAML: true