Skip to content

Commit

Permalink
chore(repo): fixup validate pr title job (#15751)
Browse files Browse the repository at this point in the history
  • Loading branch information
d1onys1us committed Feb 13, 2024
1 parent e60588c commit e27e83c
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint PR
name: Validate PR Title

on:
pull_request_target:
Expand All @@ -8,8 +8,7 @@ on:
- synchronize

jobs:
main:
name: Validate PR title
validate-pr-title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
Expand All @@ -20,7 +19,6 @@ jobs:
repo
branding
bridge-ui-v2
deps
eventindexer
fork-diff
guardian-prover-health-check
Expand All @@ -29,6 +27,9 @@ jobs:
relayer
starter-dapp
status-page
tokenomics
deps-dev
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.

0 comments on commit e27e83c

Please sign in to comment.