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 c4d0c3a commit 8e3b666Copy full SHA for 8e3b666
action.js
@@ -62,7 +62,7 @@ async function action() {
62
ACTION = core.getInput('action', {required: true}),
63
TRIGGER_PHRASE = core.getInput('trigger-phrase') || '',
64
PULL_REQUEST = github.context.payload.pull_request,
65
- REGEX_STRING = `${TRIGGER_PHRASE}(?:\s*)https:\\/\\/app.asana.com\\/(\\d+)\\/(?<project>\\d+)\\/(?<task>\\d+)`,
+ REGEX_STRING = `${TRIGGER_PHRASE}(?:\s*)https:\\/\\/app.asana.com\\/\\d\\/\\d+\\/project\\/(?<project>\\d+)\\/task\\/(?<task>\\d+)`,
66
REGEX = new RegExp(REGEX_STRING,'g')
67
;
68
@@ -172,4 +172,4 @@ module.exports = {
172
action,
173
default: action,
174
buildClient: buildClient
175
-};
+};
0 commit comments