diff --git a/discord-webhook.ts b/discord-webhook.ts index 1dd10150..ec2f4930 100644 --- a/discord-webhook.ts +++ b/discord-webhook.ts @@ -57,14 +57,14 @@ async function run() { await setupEnvironment() const refType = env.REF_TYPE - // vite repo is not cloned when release + // volar repo is not cloned when release const permRef = refType === 'release' ? undefined : await getPermanentRef() const targetText = createTargetText(refType, env.REF, permRef, env.REPO) const webhookContent = { - username: `vite-ecosystem-ci (${env.WORKFLOW_NAME})`, - avatar_url: 'https://github.com/vitejs.png', + username: `volar-ecosystem-ci (${env.WORKFLOW_NAME})`, + avatar_url: 'https://github.com/volarjs.png', embeds: [ { title: `${statusConfig[env.STATUS].emoji} ${env.SUITE}`, @@ -167,7 +167,7 @@ function createTargetText( permRef: string | undefined, repo: string, ) { - const repoText = repo !== 'vitejs/vite' ? `${repo}:` : '' + const repoText = repo !== 'volarjs/volar.js' ? `${repo}:` : '' if (refType === 'branch') { const shortRef = permRef?.slice(0, 7) const link = `https://github.com/${repo}/commits/${permRef || ref}`