File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed
Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,21 @@ jobs:
2828
2929 // Only create comment if it doesn't exist
3030 if (!approvalComment) {
31+ const body = `<!-- approval-request-comment -->
32+ ## ⚠️ Manual approval required
33+
34+ A repository owner must approve the Docker preview deployment for this PR.
35+
36+ **PR Author:** @${{ github.event.pull_request.user.login }}
37+ **Head SHA:** \`${{ github.event.pull_request.head.sha }}\`
38+
39+ [Review and approve in Actions →](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})`;
40+
3141 await github.rest.issues.createComment({
3242 owner: context.repo.owner,
3343 repo: context.repo.repo,
3444 issue_number: context.issue.number,
35- body: `<!-- approval-request-comment -->
36- ## ⚠️ Manual approval required
37-
38- A repository owner must approve the Docker preview deployment for this PR.
39-
40- **PR Author:** @${{ github.event.pull_request.user.login }}
41- **Head SHA:** \`${{ github.event.pull_request.head.sha }}\`
42-
43- [Review and approve in Actions →](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})`
45+ body
4446 });
4547 }
4648
You can’t perform that action at this time.
0 commit comments