improvement: introduce Super-Linter actions to check style for shell script, dockerfile and yaml files (#1966)

This commit is contained in:
Bowen Liang 2024-01-09 10:31:52 +08:00 committed by GitHub
commit c32c177e15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 41 additions and 4 deletions

1
.github/linters/.hadolint.yaml vendored Normal file
View file

@ -0,0 +1 @@
failure-threshold: "error"

15
.github/linters/.yaml-lint.yml vendored Normal file
View file

@ -0,0 +1,15 @@
---
extends: default
rules:
brackets:
max-spaces-inside: 1
document-start: disable
indentation:
level: warning
line-length: disable
new-line-at-end-of-file:
level: warning
trailing-spaces:
level: warning