Pydantic config #1823
Workflow file for this run
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: 'Check PR title' | |
on: | |
pull_request: | |
types: [edited, opened, synchronize, reopened] | |
jobs: | |
pr-title-check: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.user.login != 'allcontributors[bot]' }} | |
steps: | |
- uses: naveenk1223/action-pr-title@master | |
with: | |
# Valid titles: "Do something" | |
# Invalid title: | |
# - "do something" | |
# - "Do something." | |
# - "Does something" | |
# - "Do" | |
regex: '^[A-Z][a-zA-Z]*( [a-zA-Z]+)+[^.]$' # use regex101.com for explanation | |
min_length: 10 | |
max_length: 72 |