Skip to content

Commit eec6026

Browse files
committed
Use GITHUB_ACTION_REPOSITORY for report "Reported by" link
1 parent 7f60241 commit eec6026

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

report/main.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ if (isAudit) {
110110
}
111111
}
112112

113-
markdown += "\n*Reported by [buildcage](https://github.com/dash14/buildcage)*\n";
113+
const actionRepo = process.env.GITHUB_ACTION_REPOSITORY || "dash14/buildcage";
114+
markdown += `\n*Reported by [buildcage](https://github.com/${actionRepo})*\n`;
114115

115116
// Write Job Summary
116117
const summaryFile = process.env.GITHUB_STEP_SUMMARY;

0 commit comments

Comments
 (0)