Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/check-pull-request-convention.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Check Pull Request title convention"
on:
pull_request:
branches: [master]
types: [opened, edited, reopened, ready_for_review, synchronize]
permissions:
contents: read
jobs:
check-pr-title-convention:
name: Check that title follows convention
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: Slashgear/action-check-pr-title@161cede0311ec624ae3ee76a2c27522f7b6fa2d8
with:
regexp: '^\[[a-z]+.+\].+\((#[0-9]+)\)$|^\[deps\].+'
flags: "gm"
helpMessage: "Format: '[component] Message (#issuenumber)', see https://github.com/OpenCTI-Platform/opencti/blob/master/CONTRIBUTING.md#how-can-you-contribute"