Skip to content

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

Обновляет CHANGELOG

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

Workflow file for this run

name: EditorConfig
on:
push:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- id: files
uses: Ana06/[email protected]
- name: Проверка линтером
run: |
npm install editorconfig-checker --global
config=.editorconfig
for changed_file in ${{ steps.files.outputs.all }}; do
if [ $changed_file == $config ]
then
echo "Проверка для всех файлов"
editorconfig-checker
break
else
echo "Проверка для ${changed_file}"
editorconfig-checker ${changed_file}
fi
done