Skip to content

refactor: use getValidators method in set validators example #1343

refactor: use getValidators method in set validators example

refactor: use getValidators method in set validators example #1343

Workflow file for this run

name: 'Check PR Title'
# PR title is checked according to https://www.conventionalcommits.org/en/v1.0.0/
on:
pull_request_target:
types:
- opened
- edited
- synchronize
merge_group:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
main:
name: Check
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
subjectPattern: '^.{0,50}$'