mirror of
https://github.com/flame-engine/flame.git
synced 2026-03-27 12:21:35 +00:00
35 lines
749 B
YAML
35 lines
749 B
YAML
# See https://github.com/amannn/action-semantic-pull-request
|
|
name: 'PR Title is Conventional'
|
|
|
|
on:
|
|
pull_request_target:
|
|
types:
|
|
- opened
|
|
- edited
|
|
- synchronize
|
|
|
|
jobs:
|
|
main:
|
|
name: Validate PR title
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: amannn/action-semantic-pull-request@v6
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
types: |
|
|
build
|
|
chore
|
|
ci
|
|
docs
|
|
feat
|
|
fix
|
|
perf
|
|
refactor
|
|
revert
|
|
style
|
|
test
|
|
subjectPattern: ^[^a-z].+$
|
|
subjectPatternError: |
|
|
The subject of the PR can't begin with a lowercase letter.
|