summaryrefslogtreecommitdiff
path: root/.github/workflows/sql-codestyle.yml
blob: 4c21a8c9b2611d43dea0daf4b406b377c237a67a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: SQL Codestyle
on:
  pull_request:
    types:
      - opened
      - reopened
      - synchronize
    paths:
      - data/**
      - "!README.md"
      - "!docs/**"

jobs:
  triage:
    runs-on: ubuntu-latest
    name: SQL
    if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
    steps:
      - uses: actions/checkout@v4
      - name: Setup python
        uses: actions/setup-python@v5
        with:
          python-version: '3.10'
      - name: AzerothCore codestyle
        run: python ./apps/codestyle/codestyle-sql.py