From fe4cfa76018fbfb28fd2142ffa7de0589cde3a4c Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Sun, 28 Jun 2026 16:45:26 +0800 Subject: [PATCH] ci: simplify AI_WORKSPACE_AUTH_TOKEN input description for consistency (#8) Remove openssl rand -hex 32 alternative (format inconsistent with UUID output). Standardize to UUID-only generation hint matching existing input description style. Co-authored-by: Claude Sonnet 4.6 --- .github/workflows/deploy-ai-workspace-iac.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy-ai-workspace-iac.yaml b/.github/workflows/deploy-ai-workspace-iac.yaml index 6c70d5a..76e469f 100644 --- a/.github/workflows/deploy-ai-workspace-iac.yaml +++ b/.github/workflows/deploy-ai-workspace-iac.yaml @@ -46,10 +46,7 @@ name: Deploy AI Workspace (IaC + Ansible + Cloudflare) # 7. AI_WORKSPACE_AUTH_TOKEN(LiteLLM 认证 token,存储在 Vault) # - 用于 OpenCode ACP adapter 的 LITELLM_MASTER_KEY # - 存储位置:vault kv patch kv/CICD AI_WORKSPACE_AUTH_TOKEN= -# - TLDR 生成非常简单: -# • Python: python3 -c 'import uuid; print(uuid.uuid4())' -# • macOS: openssl rand -hex 32 -# • Linux: openssl rand -base64 32 +# - TLDR 生成:python3 -c 'import uuid; print(uuid.uuid4())' # - 部署时自动从 Vault 读取,注入 ansible role 的 acp_opencode_auth_token # # ── 流水线结构 ─────────────────────────────────────────────────────────────── @@ -124,7 +121,7 @@ on: default: true type: boolean ai_workspace_auth_token: - description: "自定义覆盖 AI Workspace auth token(留空则使用 Vault kv/CICD/AI_WORKSPACE_AUTH_TOKEN)— TLDR 生成:python3 -c 'import uuid; print(uuid.uuid4())' 或 openssl rand -hex 32" + description: "AI Workspace auth token 覆盖(留空则取 Vault kv/CICD/AI_WORKSPACE_AUTH_TOKEN;生成: python3 -c 'import uuid; print(uuid.uuid4())')" required: false default: "" type: string