Skip to content

Commit 4314aeb

Browse files
committed
Add an automated verification of PR title.
1 parent aa7bae1 commit 4314aeb

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Check Pull Request title convention
2+
on:
3+
pull_request:
4+
types: [opened, edited]
5+
pull_request_target:
6+
types: [opened, edited]
7+
8+
jobs:
9+
check-pr-title-convention:
10+
name: Check that title follow convention
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read
14+
steps:
15+
- uses: Slashgear/action-check-pr-title@161cede0311ec624ae3ee76a2c27522f7b6fa2d8
16+
with:
17+
regexp: "[[a-z]]+.+(#[0-9]+)"
18+
helpMessage: "Format: '[component] Message (#issuenumber)', see https://github.com/OpenCTI-Platform/opencti/blob/master/CONTRIBUTING.md#how-can-you-contribute"

0 commit comments

Comments
 (0)