Files
archived-tauri-github-bot/src/templates.ts
renovate[bot] 5b52bfaa76 chore(deps): update dependency @octokit/rest to v20 (#204)
* chore(deps): update dependency @octokit/rest to v20

* ci: update to node 18

* fmt

* update node engine field

* update ci workflow

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2023-07-13 03:11:31 +03:00

17 lines
611 B
TypeScript

// Copyright 2019-2022 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
export const UPSTREAM_ISSUE_BODY_PREDICATE =
"> This issue has been upstreamed from";
export const UPSTREAM_ISSUE_BODY_SEPARATOR = "\n\n";
export function makeUpstreamIssueBody(
originalIssueUrl: string,
body: string,
): string {
return `${UPSTREAM_ISSUE_BODY_PREDICATE} ${originalIssueUrl} ${UPSTREAM_ISSUE_BODY_SEPARATOR}${body}`;
}
export function makeUpstreamIssueClosedComment(url: string): string {
return `Upstream issue at ${url} has been closed.`;
}