Skip to content

refactor: change path #270

refactor: change path

refactor: change path #270

name: Semantic Pull Request Title
on:
pull_request_target:
branches:
- main
types:
- edited
- opened
- synchronize
jobs:
semantic-pull-request-title:
name: Semantic Pull Request Title
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Lint
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
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.