chore: Bump version to 1.2.0 #54
Workflow file for this run
This file contains hidden or 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" | |
| on: | |
| pull_request_target: | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| jobs: | |
| main: | |
| name: Validate PR title | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@v5 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| # Types allowed (Standard Conventional Commits) | |
| types: | | |
| feat | |
| fix | |
| docs | |
| style | |
| refactor | |
| perf | |
| test | |
| build | |
| ci | |
| chore | |
| revert | |
| # If the PR only contains one commit, it's often useful to check if that commit | |
| # message also follows the convention. | |
| checkLatestCommitMessage: false | |
| # You can also add a regex to validate the subject line (the part after the colon) | |
| # Flame enforces that it starts with a capital letter. We can do the same if you like. | |
| subjectPattern: ^[^a-z].+$ | |
| subjectPatternError: | | |
| The subject of the PR can't begin with a lowercase letter. |