From 96459d240d15488dfadb9a4c5ea3b59a6415b994 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 13 Jan 2026 01:19:10 +0000 Subject: [PATCH] Remove pressAnyKey() and uploadArtifacts() for automated workflow Co-authored-by: louislam <1336778+louislam@users.noreply.github.com> --- .github/workflows/beta-release.yml | 5 +---- extra/release/beta.mjs | 15 ++------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/beta-release.yml b/.github/workflows/beta-release.yml index d698a1ce5..fb7d3697a 100644 --- a/.github/workflows/beta-release.yml +++ b/.github/workflows/beta-release.yml @@ -152,10 +152,7 @@ jobs: - name: Run release-beta env: RELEASE_BETA_VERSION: ${{ inputs.version }} - RELEASE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - # Send input to continue past the pressAnyKey prompt - yes ' ' | npm run release-beta + run: npm run release-beta - name: Create dist tarball run: | diff --git a/extra/release/beta.mjs b/extra/release/beta.mjs index f629f2c3f..2a4c0d2fa 100644 --- a/extra/release/beta.mjs +++ b/extra/release/beta.mjs @@ -7,22 +7,16 @@ import { checkTagExists, checkVersionFormat, getRepoNames, - pressAnyKey, - execSync, uploadArtifacts, checkReleaseBranch, + execSync, + checkReleaseBranch, } from "./lib.mjs"; import semver from "semver"; const repoNames = getRepoNames(); const version = process.env.RELEASE_BETA_VERSION; -const githubToken = process.env.RELEASE_GITHUB_TOKEN; console.log("RELEASE_BETA_VERSION:", version); -if (!githubToken) { - console.error("GITHUB_TOKEN is required"); - process.exit(1); -} - // Check if the current branch is "release" checkReleaseBranch(); @@ -60,8 +54,3 @@ buildImage(repoNames, [ "beta-slim", ver(version, "slim") ], "release", "BASE_IM // Build full image buildImage(repoNames, [ "beta", version ], "release"); - -await pressAnyKey(); - -// npm run upload-artifacts -uploadArtifacts(version, githubToken);