Skip to content

Commit 66e9d38

Browse files
committed
make it extra clear the timestamp is in UTC
1 parent d9d4db2 commit 66e9d38

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

dist/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/functions/deployment-confirmation.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export async function deploymentConfirmation(context, octokit, data) {
106106
await octokit.rest.issues.updateComment({
107107
...context.repo,
108108
comment_id: commentId,
109-
body: `${message}\n\n✅ Deployment confirmed by __${context.actor}__ at \`${timestamp()}\`.`,
109+
body: `${message}\n\n✅ Deployment confirmed by __${context.actor}__ at \`${timestamp()}\` UTC.`,
110110
headers: API_HEADERS
111111
})
112112

@@ -120,7 +120,7 @@ export async function deploymentConfirmation(context, octokit, data) {
120120
await octokit.rest.issues.updateComment({
121121
...context.repo,
122122
comment_id: commentId,
123-
body: `${message}\n\n❌ Deployment rejected by __${context.actor}__ at \`${timestamp()}\`.`,
123+
body: `${message}\n\n❌ Deployment rejected by __${context.actor}__ at \`${timestamp()}\` UTC.`,
124124
headers: API_HEADERS
125125
})
126126

@@ -153,7 +153,7 @@ export async function deploymentConfirmation(context, octokit, data) {
153153
await octokit.rest.issues.updateComment({
154154
...context.repo,
155155
comment_id: commentId,
156-
body: `${message}\n\n⏱️ Deployment confirmation timed out after \`${data.deployment_confirmation_timeout}\` seconds. The deployment request has been rejected at \`${timestamp()}\`.`,
156+
body: `${message}\n\n⏱️ Deployment confirmation timed out after \`${data.deployment_confirmation_timeout}\` seconds. The deployment request has been rejected at \`${timestamp()}\` UTC.`,
157157
headers: API_HEADERS
158158
})
159159

0 commit comments

Comments
 (0)