refactor(v2): rewrite preview-server #1936
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Pr Title | |
on: [pull_request] | |
jobs: | |
lint-pr-title: | |
name: Validating PR title | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/amannn/action-semantic-pull-request | |
- uses: amannn/action-semantic-pull-request@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
# Configure which types are allowed (newline-delimited). | |
# Derived from https://github.com/commitizen/conventional-commit-types | |
types: | | |
fix | |
feat | |
docs | |
style | |
refactor | |
perf | |
test | |
build | |
ci | |
chore | |
revert | |
release | |
# Configure that a scope must always be provided. | |
requireScope: false | |
# Configure additional validation for the subject based on a regex. | |
ignoreLabels: | | |
bot |