File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,12 @@ runs:
4646 const prBody = process.env.PR_BODY;
4747 const targetRepo = process.env.TARGET_REPO;
4848
49- console.error(`Looking for linked PR in body:\n${prBody}`);
50-
5149 const prUrlPrefix = RegExp.escape(`https://github.com/${targetRepo}/pull`);
5250
5351 // Captures the PR URL in a "link to ..." phrase.
5452 const prUrlRegex = new RegExp(`\\blink to (${prUrlPrefix}\/\\d+)\/?`, "i");
5553
5654 const prUrl = prBody.match(prUrlRegex)?.[1];
57-
58- console.error("Full match:", prBody.match(prUrlRegex))
59- console.error(`Matched: ${prUrl}`);
60-
6155 return prUrl || "";
6256 result-encoding : string
6357
Original file line number Diff line number Diff line change 2626 with :
2727 target-repo : wasp-lang/wasp
2828
29- - name : Test
30- run : |
31- echo "Linked PR branch: [${{ steps.get-linked-pr-branch.outputs.pr-branch }}]"
32-
3329 - name : Setup Node.js
3430 id : setup-node
3531 uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments