fix: auto-indent not working properly with multi-line CRLF text #374
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
# https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions | |
name: "Validate PR" | |
on: | |
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@v5 # 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 | |
scopes: | | |
core | |
deps | |
ui | |
requireScope: false | |
- name: "Label PR" | |
uses: srvaroa/[email protected] # https://github.com/srvaroa/labeler | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |