Skip to content

feat: add TextMate document partitioner #662

feat: add TextMate document partitioner

feat: add TextMate document partitioner #662

Workflow file for this run

# https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax
name: "Validate PR"
on: # https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
build:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: "Validate semantic PR title"
uses: amannn/action-semantic-pull-request@v6 # https://github.com/amannn/action-semantic-pull-request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# https://mazer.dev/en/git/best-practices/git-semantic-commits/
# https://github.com/commitizen/conventional-commit-types/blob/master/index.json
types: |
build
ci
chore
docs
fix
feat
refact
revert
perf
style
test
scopes: |
[a-z]+[a-z0-9-]*
requireScope: false
- name: "Label PR"
uses: srvaroa/labeler@v1.13.0 # https://github.com/srvaroa/labeler
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"