Skip to content

ci: bump the actions group across 1 directory with 2 updates #433

ci: bump the actions group across 1 directory with 2 updates

ci: bump the actions group across 1 directory with 2 updates #433

name: ASH - PR Title Check
on:
pull_request:
types: [opened, edited, synchronize]
branches:
- main
merge_group:
permissions:
contents: read
jobs:
pr-title:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
if: github.event_name == 'pull_request'
- uses: actions/setup-python@v6
if: github.event_name == 'pull_request'
with:
python-version: "3.12"
- name: Install commitizen
if: github.event_name == 'pull_request'
run: pip install commitizen
- name: Validate PR title with commitizen
if: github.event_name == 'pull_request'
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo "Checking: $PR_TITLE"
cz check --message "$PR_TITLE"