From 8890d1f140a13a34d772ec4f4038e779cb72713a Mon Sep 17 00:00:00 2001
From: Huakun Shen
Date: Mon, 24 Mar 2025 08:12:07 -0400
Subject: [PATCH] feat: add Gitea mirror link to GitHubProvenanceCard
- Introduced a new link to the Gitea mirror repository in the GitHubProvenanceCard component.
- Updated the layout to reflect the new mirror link while removing the commented-out GitLab mirror section.
---
.../extension/GitHubProvenanceCard.svelte | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/packages/ui/src/components/extension/GitHubProvenanceCard.svelte b/packages/ui/src/components/extension/GitHubProvenanceCard.svelte
index eece692..92e29e2 100644
--- a/packages/ui/src/components/extension/GitHubProvenanceCard.svelte
+++ b/packages/ui/src/components/extension/GitHubProvenanceCard.svelte
@@ -19,6 +19,7 @@
} = $props()
const workflowRunId = githubActionInvocationId.split("/").at(-3)
const workflowRunUrl = `https://github.com/${repoOwner}/${repoName}/actions/runs/${workflowRunId}/workflow`
+ const giteaMirrorUrl = `https://gitea.kunkun.sh/kunkun-extensions-mirror/${repoOwner}-${repoName}`
@@ -60,12 +61,12 @@
class="underline">Transparentcy log entry
-
+
+ Mirror
+
+ Mirror Repo
+
+