forked from NibiruChain/nibiru
-
Notifications
You must be signed in to change notification settings - Fork 0
20 lines (18 loc) · 889 Bytes
/
pr-title-lint.yml
File metadata and controls
20 lines (18 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: PR lint
on:
pull_request:
types: [opened, reopened, synchronize, edited]
jobs:
pr-lint:
runs-on: ubuntu-latest
steps:
- uses: seferov/pr-lint-action@v1.2.0
with:
# V2: Includes Nibiru-specific qualifiers and allows for
title-regex: '^(evm|sai-trading|build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.\/]+\))?(!)?: ([\w ])+([\s\S]*)'
# V1: Old regex taken from Gist: https://gist.github.com/marcojahn/482410b728c31b221b70ea6d2c433f0c
# title-regex: '^(evm|build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)'
# title-regex-flags (Optional)
title-regex-flags: "g"
# error-message (Optional)
error-message: "Please follow conventional commit style: https://www.conventionalcommits.org/en/v1.0.0/"