generated from MetaMask/metamask-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 4
55 lines (52 loc) · 1.3 KB
/
validate-pr-title.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Validate PR Title
on:
pull_request:
branches:
- main
types:
- opened
- edited
- synchronize
- reopened
permissions:
pull-requests: read
jobs:
validate-pr-title:
runs-on: ubuntu-latest
steps:
- name: Validate PR title
# !!! ATTENTION !!!
#
# This is the hash of version 5.4.0, which is allow listed in the
# `MetaMask` organization. Other versions need to be allow listed
# by administrators before they can be used.
uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f
with:
types: |
build
chore
ci
docs
feat
fix
perf
refactor
release
revert
style
test
scopes: |
keyring-api
keyring-eth-hd
keyring-eth-ledger-bridge
keyring-eth-simple
keyring-eth-trezor
keyring-internal-api
keyring-internal-snap-client
keyring-snap-bridge
keyring-snap-client
keyring-snap-sdk
keyring-utils
subjectPattern: '^(?![A-Z]).+$'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}