Skip to content

Commit

Permalink
Infrastructure: add GH Action to check coding style from .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Oct 2, 2024
1 parent 9b2b97e commit b02778c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pr-coding-style.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Coding style check

on:
pull_request:
types: [opened, reopened, edited, synchronize, review_requested]
paths:
- lib/**
- packages/**
- extensions/**
- tools/**

concurrency:
group: coding-style-${{github.event.pull_request.number}}
cancel-in-progress: true

jobs:
editorconfig:
name: "Coding style check"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker

0 comments on commit b02778c

Please sign in to comment.