技能 2026-08-15 21:36 UTC
kotlin-kmp-claude-agent-skills
由提交人 mmiani 提交,主要更新类型为:依赖升级与工程维护。提交说明:Skip the Claude workflows when no API key is configured。更新了依赖与构建配置,跟进上游版本。
Commit提交信息原文
Skip the Claude workflows when no API key is configured Both workflows passed secrets.ANTHROPIC_API_KEY straight to the action, so a repository without that secret failed the check rather than skipping it. Every prior PR happened to modify the workflow files, which makes the action skip itself with a workflow-validation notice, so this went unseen until the first PR that left them alone. secrets is not readable from a job-level `if`, so each job now surfaces the presence of the key as an env value and the action step gates on it. A skip writes a line to the step summary saying why. The env block sits before the existing `if:` so the fix workflow's trusted-commenter condition, which the test suite matches from `if: |` through to `steps:`, is unchanged. Both workflow tests still pass. Repositories that install these workflows and set the key are unaffected. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>