Skip to content

feat: base setup of project , almost ready to open source and merging to test the deployments #12

feat: base setup of project , almost ready to open source and merging to test the deployments

feat: base setup of project , almost ready to open source and merging to test the deployments #12

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'