devscard/.github/workflows/lint-pr-title.yml

26 lines
515 B
YAML

name: 'Lint PR title'
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
lint:
name: Validate PR title
if: github.repository == 'KonradSzwarc/devscard'
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
refactor
docs
requireScope: false