ci: simplify AI_WORKSPACE_AUTH_TOKEN input description for consistency (#7)

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 <noreply@anthropic.com>
This commit is contained in:
Haitao Pan 2026-06-28 16:45:09 +08:00 committed by GitHub
parent bfbe038ab2
commit ddae3b3574
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,10 +46,7 @@ name: Deploy AI Workspace (IaC + Ansible + Cloudflare)
# 7. AI_WORKSPACE_AUTH_TOKENLiteLLM 认证 token存储在 Vault
# - 用于 OpenCode ACP adapter 的 LITELLM_MASTER_KEY
# - 存储位置vault kv patch kv/CICD AI_WORKSPACE_AUTH_TOKEN=<your-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