Skip to content

Commit b3430a2

Browse files
committed
Changes screenshot to link
1 parent dba8913 commit b3430a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/file/src/generateIssueBody.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export function generateIssueBody(finding: Finding, repoWithOwner: string): stri
1414

1515
let screenshotSection;
1616
if (finding.screenshotId) {
17-
const screenshotUrl = `https://raw.githubusercontent.com/${repoWithOwner}/gh-cache/.screenshots/${finding.screenshotId}.png`;
17+
const screenshotUrl = `https://github.com/${repoWithOwner}/blob/gh-cache/.screenshots/${finding.screenshotId}.png`;
1818
screenshotSection = `
19-
![Screenshot of the issue on ${finding.url}](${screenshotUrl})
19+
[View screenshot](${screenshotUrl})
2020
`;
2121
}
2222

0 commit comments

Comments
 (0)