Skip to content

refactor: reuse url function #118

refactor: reuse url function

refactor: reuse url function #118

name: semantic_pull_request
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
main:
if: github.repository == 'aeharding/voyager'
runs-on: ubuntu-latest
steps:
- name: Validate PR title
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 }}