Skip to content

Commit 8041a01

Browse files
committed
fixes
1 parent 444ec85 commit 8041a01

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-to-control-plane-review.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,14 @@ jobs:
6363
required_contexts: []
6464
});
6565
66+
const runUrl = `${process.env.GITHUB_SERVER_URL}/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}/job/${process.env.GITHUB_JOB}?pr=${context.issue.number || context.payload.pull_request.number}`;
67+
6668
// Create initial comment
6769
const comment = await github.rest.issues.createComment({
6870
issue_number: context.issue.number || context.payload.pull_request.number,
6971
owner: context.repo.owner,
7072
repo: context.repo.repo,
71-
body: `🚀 Starting deployment for ${context.sha.substring(0, 7)}\nDeployment ID: ${deployment.data.id}`
73+
body: `🚀 Starting deployment for ${context.sha.substring(0, 7)}\nDeployment ID: ${deployment.data.id}\nGitHub Actions Run: ${runUrl}`
7274
});
7375
7476
// Set deployment status to in_progress

0 commit comments

Comments
 (0)