Skip to content

fix: add issue template and workflow fixes #8

fix: add issue template and workflow fixes

fix: add issue template and workflow fixes #8

name: Check PR title
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
- review_requested
- auto_merge_enabled
# Ensures that only one deploy task per branch/environment will run at a time!
concurrency:
group: check-pr-title-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
validatePrTitle:
name: Validate PR title
runs-on: ubuntu-latest
permissions:
statuses: write
timeout-minutes: 10
steps:
- uses: aslafy-z/conventional-pr-title-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
success-state: 'PR Title follows the Conventional Commits spec'
failure-state: 'PR Title does not follow the Conventional Commits spec'