This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
build(deps-dev): bump pre-commit from 3.6.0 to 4.0.1 #1115
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: pr-title | |
on: | |
pull_request_target: | |
types: [opened, reopened, edited, synchronize] | |
pull_request: | |
types: [opened, reopened, edited, synchronize] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: amannn/action-semantic-pull-request@v5 | |
with: | |
subjectPattern: ^(?![A-Z]).+$ | |
subjectPatternError: | | |
The subject "{subject}" found in the pull request title "{title}" | |
didn't match the configured pattern. Please ensure that the subject | |
doesn't start with an uppercase character. | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |