This action uses editorconfig-checker to validate files.
Create a workflow .yml
file in your repositories .github/workflows
directory.
An example workflow is available below.
For more information, reference the GitHub Help Documentation for Creating a workflow file.
Field | Description |
---|---|
version |
Version (default: latest ) |
name: EditorConfig Checker
on:
pull_request:
branches:
- main
jobs:
editorconfig:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker