name: Check commit message formatting

on: [pull_request]

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
      with:
        fetch-depth: 100
    - uses: actions/setup-python@v5
    - name: Check commit message formatting
      run: source tools/ci.sh && ci_commit_formatting_run
