We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 523913d commit 1c8bfb2Copy full SHA for 1c8bfb2
.github/workflows/diffBot.yml
@@ -19,7 +19,8 @@ jobs:
19
uses: actions/github-script@v6
20
with:
21
script: |
22
- const commentBody = context.payload.comment.body;
+ const commentBody = context.payload.issue?.body || context.payload.comment?.body || "";
23
+# const commentBody = context.payload.comment.body;
24
const regexScreenshot = /@diff\s+(\S+)\s+(\S+)/; // Match URL + screenshot flag
25
const regexArtifact = /@diff\s+(\S+)/; // Match only URL
26
0 commit comments