editorconfig.yml 645 B

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