Skip to content

Commit e480e85

Browse files
authored
[CI] Enforce PR title convention check (#5794)
1 parent 4adb66e commit e480e85

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/pr-check-conventions.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,15 @@ jobs:
5454
exit 1
5555
else
5656
echo "✓ Found $LINKED_ISSUES linked issue(s)"
57-
fi
57+
fi
58+
check-pr-title-convention:
59+
name: Check that PR title follows convention
60+
runs-on: ubuntu-latest
61+
permissions:
62+
contents: read
63+
steps:
64+
- uses: Slashgear/action-check-pr-title@76166c63ec0b25cdbe693e5e972e83ca186313fb
65+
with:
66+
regexp: '^\[\w+.+\].+$'
67+
flags: "gm"
68+
helpMessage: "Format: '[Connector Name] Message' for example '[MISP] updating a doc page'. see https://github.com/OpenCTI-Platform/connectors/blob/master/CONTRIBUTING.md#contributing"

0 commit comments

Comments
 (0)