1name: EditorConfig Checker
2
3on:
4 workflow_dispatch: # allows manual triggering
5 inputs:
6 create_release:
7 description: 'Create new release'
8 required: true
9 type: boolean
10 push:
11 branches:
12 - master
13 pull_request:
14 branches:
15 - master
16
17concurrency:
18 group: ${{ github.workflow }}-${{ github.head_ref && github.ref || github.run_id }}
19 cancel-in-progress: true
20
21jobs:
22 editorconfig:
23 runs-on: ubuntu-slim
24 steps:
25 - uses: actions/checkout@v6
26 - uses: editorconfig-checker/action-editorconfig-checker@v2
27 with:
28 version: v3.0.3
29 - run: editorconfig-checker