diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index a349654..4a011c3 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -48,6 +48,23 @@ jobs: cd deployments/kubernetes/chart/reloader helm lint + - name: Dockerfile Lint + uses: hadolint/hadolint-action@v1.6.0 + with: + dockerfile: Dockerfile + failure-threshold: warning + + - name: Link check + uses: gaurav-nelson/github-action-markdown-link-check@v1 + + - name: Spell check + uses: errata-ai/vale-action@v1.5.0 + with: + styles: https://github.com/errata-ai/write-good/releases/latest/download/write-good.zip + files: docs + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Install kubectl run: | curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl" diff --git a/.vale.ini b/.vale.ini new file mode 100644 index 0000000..eb9db3b --- /dev/null +++ b/.vale.ini @@ -0,0 +1,7 @@ +StylesPath = spellingstyles +MinAlertLevel = warning + +# Only check MarkDown files +[*.md] + +BasedOnStyles = Vale