feat!: Enable autoscaling #316
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: "Validate PR Title" | |
on: | |
pull_request_target: | |
types: [opened, edited, synchronize] | |
jobs: | |
main: | |
name: Validate PR title | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/amannn/action-semantic-pull-request/releases | |
- uses: amannn/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
# Allowed types: https://github.com/commitizen/conventional-commit-types | |
types: | | |
fix | |
feat | |
docs | |
style | |
refactor | |
perf | |
test | |
build | |
ci | |
chore | |
revert | |
requireScope: false | |
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 | |
starts with an uppercase character. | |
wip: true | |
validateSingleCommit: true | |
validateSingleCommitMatchesPrTitle: true |