ldap.result.xml Исправил перевод #9256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Проверка EditorConfig | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| lint: | |
| runs-on: "ubuntu-latest" | |
| if: "! contains(toJSON(github.event.commits.*.message), '[skip-lint]')" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| - name: Получение изменённых файлов | |
| id: get_file_changes | |
| uses: trilom/file-changes-action@v1.2.4 | |
| with: | |
| output: ' ' | |
| - name: Запуск editorconfig-checker | |
| run: | | |
| files="" | |
| for file in ${{ steps.get_file_changes.outputs.files }}; do | |
| [ -f "$file" ] && files="$files $file" | |
| done | |
| if [ -n "$files" ]; then | |
| npx editorconfig-checker $files | |
| else | |
| echo "Нет изменённых файлов для проверки." | |
| fi |