flygard-core/.github/workflows/sql-codestyle.yml
Kitzunu 09d8066aa4
fix(CI): stop ccache from freezing after the first run on a branch (#26481)
Co-authored-by: Ludwig <sudlud@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-21 13:59:16 +02:00

31 lines
817 B
YAML

name: SQL Codestyle
on:
pull_request:
types:
- opened
- reopened
- synchronize
paths:
- data/**
- "!README.md"
- "!docs/**"
concurrency:
# New commits on a PR cancel the still-running codestyle check on the old
# commit. github.ref is refs/pull/<N>/merge, so the group is stable per PR.
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
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