← Files Dataiku HeadlessARCHIVED FILE

.github/workflows/pr-title.yml

754 Bytes · Nov 11, 2026 · 12:58 UTC

↓ Download file

name: PR title

on:
  pull_request:
    branches: [main, 'release/*']
    types: [opened, reopened, edited, synchronize]

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

permissions:
  contents: read

jobs:
  semantic-title:
    name: Semantic PR title
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
      - name: Install uv
        uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
        with:
          enable-cache: true
      - name: Validate squash-merge title
        env:
          PR_TITLE: ${{ github.event.pull_request.title }}
        run: uvx --from commitizen cz check --message "$PR_TITLE"

SHA-256: 1360732d6a7925568584c1d40f315cc549ae817f1cefbfd403b8ae069432c8e2