diff --git a/.github/workflows/quality-checks.yml b/.github/workflows/quality-checks.yml new file mode 100644 index 0000000..bd724fd --- /dev/null +++ b/.github/workflows/quality-checks.yml @@ -0,0 +1,32 @@ +name: Quality Checks + +on: + pull_request: + branches: + - main + - master + - staging + types: + - opened + - reopened + - synchronize + +concurrency: + group: preview-${{ github.ref }} + cancel-in-progress: true + +jobs: + quality-checks: + runs-on: ubuntu-latest + steps: + - name: Checkout repository 🛎️ + uses: actions/checkout@v3 + + - name: Run commitlint + uses: sliit-foss/actions/quality-checks/commitlint@main + + - name: Run linter + uses: sliit-foss/actions/quality-checks/linter@main + + - name: Run formatter + uses: sliit-foss/actions/quality-checks/formatter@main