File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545 owner: context.repo.owner,
4646 repo: context.repo.repo,
4747 issue_number: issueNumber,
48- body: `Starting a Coder workspace. You can track the progress [here](${runUrl}).`
48+ body: `🔄 Starting a Coder workspace. You can track the progress [here](${runUrl}).`
4949 });
5050 core.setOutput('comment_id', comment.data.id);
5151 core.setOutput('run_url', runUrl);
Original file line number Diff line number Diff line change 1- // Source hash: 46998a3aefe2d9f033ddcd4b4f4c88d4bd7cc25d7b153e8bd19507a5e35db5f4
1+ // Source hash: bede50fef0a5393efa961715144c209f04f8e036b989dec2839d865fbab7b3df
22import { createRequire } from "node:module";
33var __create = Object.create;
44var __getProtoOf = Object.getPrototypeOf;
@@ -30580,7 +30580,7 @@ class StartWorkspaceAction {
3058030580 commentId: this.input.githubStatusCommentId
3058130581 });
3058230582 commentBody = commentBody + `
30583- Workspace will be available here : ${workspaceUrl}`;
30583+ Workspace will be available at : ${workspaceUrl}`;
3058430584 await this.githubUpdateIssueComment({
3058530585 owner: this.input.githubRepoOwner,
3058630586 repo: this.input.githubRepoName,
@@ -30597,8 +30597,8 @@ Workspace will be available here: ${workspaceUrl}`;
3059730597 owner: this.input.githubRepoOwner,
3059830598 repo: this.input.githubRepoName,
3059930599 commentId: this.input.githubStatusCommentId,
30600- comment: `✅ Workspace started: ${workspaceUrl}
30601- View [Github Actions logs](${this.input.githubWorkflowRunUrl}). `
30600+ comment: `✅ Coder workspace started! You can view the action logs [here](${this.input.githubWorkflowRunUrl}).
30601+ Workspace is available at: ${workspaceUrl} `
3060230602 });
3060330603 }
3060430604}
Original file line number Diff line number Diff line change @@ -233,8 +233,8 @@ describe("StartWorkspaceAction", () => {
233233 {
234234 issueComments : [
235235 "Initial comment" ,
236- "Initial comment\nWorkspace will be available here : https://example.com/hugo/workspace-name" ,
237- "✅ Workspace started: https://example .com/hugo/workspace-name\nView [Github Actions logs]( https://github .com/workflow-run). " ,
236+ "Initial comment\nWorkspace will be available at : https://example.com/hugo/workspace-name" ,
237+ "✅ Coder workspace started! You can view the action logs [here]( https://github .com/workflow-run).\nWorkspace is available at: https://example .com/hugo/workspace-name " ,
238238 ] ,
239239 workspaceStarted : true ,
240240 startWorkspace : {
@@ -257,8 +257,8 @@ describe("StartWorkspaceAction", () => {
257257 {
258258 issueComments : [
259259 "Initial comment" ,
260- "Initial comment\nWorkspace will be available here : https://example.com/hugo-coder/workspace-name" ,
261- "✅ Workspace started: https://example .com/hugo-coder/workspace-name\nView [Github Actions logs]( https://github .com/workflow-run). " ,
260+ "Initial comment\nWorkspace will be available at : https://example.com/hugo-coder/workspace-name" ,
261+ "✅ Coder workspace started! You can view the action logs [here]( https://github .com/workflow-run).\nWorkspace is available at: https://example .com/hugo-coder/workspace-name " ,
262262 ] ,
263263 workspaceStarted : true ,
264264 startWorkspace : {
Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ export class StartWorkspaceAction {
187187 commentId : this . input . githubStatusCommentId ,
188188 } ) ;
189189 commentBody =
190- commentBody + `\nWorkspace will be available here : ${ workspaceUrl } ` ;
190+ commentBody + `\nWorkspace will be available at : ${ workspaceUrl } ` ;
191191
192192 await this . githubUpdateIssueComment ( {
193193 owner : this . input . githubRepoOwner ,
@@ -206,7 +206,7 @@ export class StartWorkspaceAction {
206206 owner : this . input . githubRepoOwner ,
207207 repo : this . input . githubRepoName ,
208208 commentId : this . input . githubStatusCommentId ,
209- comment : `✅ Workspace started: ${ workspaceUrl } \nView [Github Actions logs](${ this . input . githubWorkflowRunUrl } ).` ,
209+ comment : `✅ Coder workspace started! You can view the action logs [here ](${ this . input . githubWorkflowRunUrl } ).\nWorkspace is available at: ${ workspaceUrl } ` ,
210210 } ) ;
211211 }
212212}
You can’t perform that action at this time.
0 commit comments