We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18ce420 commit 9016536Copy full SHA for 9016536
1 file changed
apps/code/src/main/services/git/service.ts
@@ -767,10 +767,13 @@ export class GitService extends TypedEventEmitter<GitServiceEvents> {
767
body?: string,
768
draft?: boolean,
769
): Promise<{ success: boolean; message: string; prUrl: string | null }> {
770
+ const prFooter =
771
+ "\n\n---\n*Created with [PostHog Code](https://posthog.com/code?ref=pr)*";
772
+
773
const args = ["pr", "create"];
774
if (title) {
775
args.push("--title", title);
- args.push("--body", body || "");
776
+ args.push("--body", (body || "") + prFooter);
777
} else {
778
args.push("--fill");
779
}
0 commit comments