Skip to content

Commit 10cd7fe

Browse files
authored
update language (#32)
1 parent 03e71a3 commit 10cd7fe

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bin/action.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,13 @@ async function run() {
125125
: urls.map((url) => `- [${url}](${url})`).join("\n");
126126

127127
if (token && isPullRequest) {
128+
const commitId = context.payload.pull_request?.head.sha.substring(0, 7);
129+
128130
await postOrUpdateComment(
129131
github,
130132
context,
131133
`
132-
Deploy preview for ${context.payload.pull_request?.head.sha.substring(0, 7)}:
134+
Visit the preview URL for this PR (updated for commit ${commitId}):
133135
134136
${urlsListMarkdown}
135137

0 commit comments

Comments
 (0)