Skip to content

Commit 989620c

Browse files
authored
fix: add missing variable in pr preview release action (#107)
1 parent a8ff2c9 commit 989620c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/pr-preview-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,10 @@ jobs:
6161
script: |
6262
const prNumber = ${{ steps.pr.outputs.number }};
6363
const releaseTag = `agentapi_${prNumber}`;
64+
const repoUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}`;
6465
github.rest.issues.createComment({
6566
issue_number: prNumber,
6667
owner: context.repo.owner,
6768
repo: context.repo.repo,
6869
body: `✅ Preview binaries are ready!\n\nTo test with modules: \`\`\`agentapi: ${prNumber}\`\`\` or download from: ${repoUrl}/releases/tag/${releaseTag}`
69-
});
70+
});

0 commit comments

Comments
 (0)