Skip to content

Обновляет CHANGELOG #5166

Обновляет CHANGELOG

Обновляет CHANGELOG #5166

name: Frontmatter Lint
on:
push:
branches:
- main
jobs:
frontmatter-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Проверка линтером меты в main
run: |
echo "Проверка для всех файлов"
npx yaml-cat --format json --output result.json a11y/**/index.md css/**/index.md html/**/index.md js/**/index.md recipes/**/index.md tools/**/index.md
node .github/scripts/frontmatter.js --fix
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Сортирует мету в материалах
file_pattern: (a11y|css|html|js|recipes|tools)/**/index.md
commit_user_name: Doka Dog
commit_user_email: [email protected]
commit_author: Doka Dog <[email protected]>