fix: Take other values than 1 into consideration for pressed buttons #99
Workflow file for this run
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
# See https://github.com/amannn/action-semantic-pull-request | |
name: 'PR Title is Conventional' | |
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@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
types: | | |
build | |
chore | |
ci | |
docs | |
feat | |
fix | |
perf | |
refactor | |
revert | |
style | |
test | |
subjectPattern: ^[A-Z].+$ | |
subjectPatternError: | | |
The subject of the PR must begin with an uppercase letter. |