diff --git a/.github/workflows/yaml.yml b/.github/workflows/yaml.yml new file mode 100644 index 000000000..49eb0971e --- /dev/null +++ b/.github/workflows/yaml.yml @@ -0,0 +1,15 @@ +name: YAML + +on: + pull_request: + push: + branches: + - main + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: yaml-lint + uses: ibiqlik/action-yamllint@v3 diff --git a/.yamllint b/.yamllint new file mode 100644 index 000000000..e60e23517 --- /dev/null +++ b/.yamllint @@ -0,0 +1,4 @@ +extends: relaxed + +ignore: | + node_modules diff --git a/README.md b/README.md index 1f299bf3c..c0fb34004 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![](https://github.com/web-standards-ru/web-standards.ru/workflows/HTML/badge.svg)](https://github.com/web-standards-ru/web-standards.ru/actions?query=workflow%3AHTML) [![](https://github.com/web-standards-ru/web-standards.ru/workflows/Stylelint/badge.svg)](https://github.com/web-standards-ru/web-standards.ru/actions?query=workflow%3AStylelint) [![](https://github.com/web-standards-ru/web-standards.ru/workflows/ESLint/badge.svg)](https://github.com/web-standards-ru/web-standards.ru/actions?query=workflow%3AESLint) +[![](https://github.com/web-standards-ru/web-standards.ru/workflows/YAML/badge.svg)](https://github.com/web-standards-ru/web-standards.ru/actions?query=workflow%3AYAML) [![](https://github.com/web-standards-ru/web-standards.ru/workflows/Deploy/badge.svg)](https://github.com/web-standards-ru/web-standards.ru/actions?query=workflow%3ADeploy) Сайт сообщества: статьи и подкаст.