From 857dc4b31842d3b872cc7e2fd43a41cff5ade3c7 Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Sat, 23 Mar 2024 13:47:55 +0100 Subject: [PATCH] Add linter --- .github/workflows/linter.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/linter.yaml diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml new file mode 100644 index 0000000..b38f350 --- /dev/null +++ b/.github/workflows/linter.yaml @@ -0,0 +1,30 @@ +name: Lint Code Base + +# Documentation: +# https://help.github.com/en/articles/workflow-syntax-for-github-actions + +on: + push + #pull_request: + # paths: + # - 'charts/spotify-auth-proxy/**' + +jobs: + build: + name: Lint Code Base + runs-on: ubuntu-latest + steps: + - name: Checkout Code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Lint Code Base + uses: github/super-linter@v5 + env: + VALIDATE_ALL_CODEBASE: false + VALIDATE_YAML: false + VALIDATE_KUBERNETES_KUBEVAL: false + DEFAULT_BRANCH: main + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + VALIDATE_GITLEAKS: false + FILTER_REGEX_EXCLUDE: .github/.*