File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -49,10 +49,10 @@ try {
49
49
TRIGGER_PHRASE = core . getInput ( 'trigger-phrase' ) ,
50
50
TASK_COMMENT = core . getInput ( 'task-comment' ) ,
51
51
PULL_REQUEST = github . context . payload . pull_request ,
52
- REGEX = new RegExp (
53
- `\\*\\* ${ TRIGGER_PHRASE } \\*\\* \\[(.*?)\\]\\(https:\\/\\/app.asana.com\\/(\\d+)\\/(?<project>\\d+)\\/(?<task>\\d+).*?\\)` ,
54
- 'g'
55
- ) ;
52
+ REGEX_STRING = `\\*\\* ${ TRIGGER_PHRASE } \\*\\* \\[(.*?)\\]\\(https:\\/\\/app.asana.com\\/(\\d+)\\/(?<project>\\d+)\\/(?<task>\\d+).*?\\)` ,
53
+ REGEX = new RegExp ( REGEX_STRING , 'g' ) ;
54
+ core . info ( `Regex: ${ REGEX_STRING } ` ) ;
55
+ core . info ( `pr body: ${ PULL_REQUEST . body } ` ) ;
56
56
let taskComment = null ,
57
57
targets = TARGETS ? JSON . parse ( TARGETS ) : [ ] ,
58
58
parseAsanaURL = null ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " github-asana" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " Action to integrate git with asana" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments