We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e244b09 commit e361556Copy full SHA for e361556
src/Hook/Message/Action/InjectIssueKeyFromBranch.php
@@ -28,16 +28,20 @@
28
* Class PrepareFromFile
29
*
30
* Example configuration:
31
+ *
32
+ * <code>
33
* {
- * "action": "\\CaptainHook\\App\\Hook\\Message\\Action\\InjectIssueKeyFromBranch",
34
+ * "action": "CaptainHook.Message.InjectIssueKeyFromBranch",
35
* "options": {
36
* "regex": "#([A-Z]+\\-[0-9]+)#i",
- * "into": "body",
- * "mode": "append",
37
- * "prefix": "\nissue: ",
+ * "into": "body|subject",
38
+ * "mode": "append|prepend",
39
+ * "prefix": "",
40
+ * "suffix": "",
41
* "force": true
42
* }
43
44
+ * </code>
45
46
* The regex option needs group $1 (...) to be the issue key
47
0 commit comments