You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
body = `## Release Preview\n\n**Release Type:** \`${releaseType}\`\n**Next Version:** \`v${version}\`\n\n### Release Notes\n${notes}\n\n---\n*This shows what release will be created when this PR is merged.*`;
88
-
} else {
89
-
body = '## Release Preview\n\nNo new release will be created from this PR.\n\nThis PR does not contain conventional commits that trigger a release.';
*This shows what release will be created when this PR is merged.*', steps.semantic.outputs.new_release_type, steps.semantic.outputs.new_release_version, steps.semantic.outputs.new_release_notes) || 'No new release will be created from this PR.
102
53
103
-
// Update existing or create new
104
-
if (botComment) {
105
-
await github.rest.issues.updateComment({
106
-
owner: context.repo.owner,
107
-
repo: context.repo.repo,
108
-
comment_id: botComment.id,
109
-
body: body
110
-
});
111
-
} else {
112
-
await github.rest.issues.createComment({
113
-
owner: context.repo.owner,
114
-
repo: context.repo.repo,
115
-
issue_number: context.issue.number,
116
-
body: body
117
-
});
118
-
}
54
+
This PR does not contain conventional commits that trigger a release.' }}
0 commit comments