mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-06 10:55:00 +02:00
41 lines
763 B
YAML
41 lines
763 B
YAML
name: "Lint PR"
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
|
|
permissions:
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
main:
|
|
name: Validate PR title
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: amannn/action-semantic-pull-request@v5
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
requireScope: true
|
|
subjectPattern: ^(?![A-Z]).+$
|
|
scopes: |
|
|
.+
|
|
types: |
|
|
build
|
|
chore
|
|
ci
|
|
docs
|
|
feat
|
|
fix
|
|
merge
|
|
perf
|
|
refactor
|
|
revert
|
|
style
|
|
test
|
|
wip
|
|
ignoreLabels: |
|
|
autorelease: pending
|