--- name: Lint on: # yamllint disable-line rule:truthy workflow_dispatch: pull_request: branches: - main env: # Currently no way to detect automatically DEFAULT_BRANCH: main jobs: build: name: Lint runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 with: fetch-depth: 0 - name: Lint uses: github/super-linter/slim@v4 env: VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'workflow_dispatch' }} DEFAULT_BRANCH: "${{ env.DEFAULT_BRANCH }}" GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" ANSIBLE_CONFIG_FILE: .ansible-lint MARKDOWN_CONFIG_FILE: .markdownlint.yaml TERRAFORM_TFLINT_CONFIG_FILE: .tflint.hcl YAML_CONFIG_FILE: .yamllint.yaml KUBERNETES_KUBEVAL_OPTIONS: --ignore-missing-schemas