From fe650b5fbda12ac12dfcd4502fe01ca42949796c Mon Sep 17 00:00:00 2001 From: Matsuuu Date: Wed, 16 Sep 2026 13:58:27 +0300 Subject: [PATCH] ci: Change codespace resurrect URL to internal workflow --- .github/scripts/codespace-preview.mjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/codespace-preview.mjs b/.github/scripts/codespace-preview.mjs index 1acbf16a039..43995938450 100644 --- a/.github/scripts/codespace-preview.mjs +++ b/.github/scripts/codespace-preview.mjs @@ -27,7 +27,7 @@ const IDLE_TIMEOUT = '2 hours'; const RETENTION_PERIOD = '24 hours'; // A slept box comes back with a private port, so every recovery hint points here. export const WORKFLOW_URL = - 'https://github.com/n8n-io/n8n/actions/workflows/util-codespace-preview.yml'; + 'https://internal.users.n8n.cloud/webhook/codespace-preview/up'; // What a manual run may ask for. `ls` is absent: it needs no PR and posts no comment. export const DISPATCH_OPERATIONS = ['up', 'refresh', 'down']; // Resolved against this file, so the script runs the same from any directory. @@ -142,8 +142,8 @@ export function readyComment({ url, codespace, sha, orgVisible, pr }) { access, '', `The instance sleeps after ${IDLE_TIMEOUT} of no use and is deleted after ${RETENTION_PERIOD}.`, - `A box that slept comes back private, so wake it with [the preview workflow](${WORKFLOW_URL})`, - '(`Run workflow` → this PR number → `up`), or by pushing a commit.', + `A box that slept comes back private, so wake it with [the preview workflow](${WORKFLOW_URL}),`, + 'or by pushing a commit.', `Remove the \`${PREVIEW_LABEL}\` label to delete it now.`, ].join('\n'); }