Skip to content

feat(protocol)!: improve protocol based on Brecht's internal review #43

feat(protocol)!: improve protocol based on Brecht's internal review

feat(protocol)!: improve protocol based on Brecht's internal review #43

name: Validate PR Title
on:
pull_request_target:
types:
- opened
- edited
- synchronize
jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
scopes: |
repo
branding
bridge-ui-v2
eventindexer
fork-diff
guardian-prover-health-check
guardian-prover-health-check-ui
protocol
relayer
starter-dapp
status-page
requireScope: true
subjectPattern: ^(?![A-Z]).+$ # Require lowercase PR title
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.