mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-06 03:50:46 +00:00
* ci: fix super-linter configuration settings (#7708)
- Revert the version pin from #7706.
- Override the YAML linter config to be more forgiving.
- Update YAML lint warnings in a number of files.
The choice of which lints to fix and which to override was ad hoc: I fixed the ones that were mainly whitespace oriented, and suppressed the ones that were document-structure related.
Fixes #7707.
(cherry picked from commit 5eb50a43b5)
* Resolve cherry-pick conflicts.
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
33 lines
684 B
YAML
33 lines
684 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- "**.md"
|
|
- "**.yml"
|
|
- "**.yaml"
|
|
pull_request:
|
|
branches: [master]
|
|
paths:
|
|
- "**.md"
|
|
- "**.yml"
|
|
|
|
jobs:
|
|
build:
|
|
name: Super linter
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v2.4.0
|
|
- name: Lint Code Base
|
|
uses: docker://github/super-linter:v4
|
|
env:
|
|
VALIDATE_ALL_CODEBASE: true
|
|
DEFAULT_BRANCH: master
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
VALIDATE_MD: true
|
|
VALIDATE_OPENAPI: true
|
|
VALIDATE_YAML: true
|
|
YAML_CONFIG_FILE: yaml-lint.yml
|