chore: release 10.13.2 #6558
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 and commit message" | |
on: | |
pull_request: | |
jobs: | |
main: | |
name: Validate PR title | |
runs-on: ubuntu-latest | |
steps: | |
- uses: amannn/action-semantic-pull-request@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: Install commit lint config | |
run: npm i @commitlint/config-conventional | |
- name: Validate current commit (last commit) with commitlint | |
run: npx commitlint --from HEAD~1 --verbose |