Conversation
Owner
Author
|
/opencode |
1 similar comment
Owner
Author
|
/opencode |
Owner
Author
|
/opencode |
Owner
Author
|
/opencode |
Owner
Author
|
/opencode |
2 similar comments
Owner
Author
|
/opencode |
Owner
Author
|
/opencode |
Owner
Author
|
/opencode 测试修复 |
Owner
Author
|
/opencode 使用 use_github_token 参数 |
Owner
Author
|
/opencode 测试 v1.1.34 |
Owner
Author
|
/opencode 最终测试 - 同时设置 GITHUB_TOKEN env 和 use_github_token param |
Owner
Author
|
/opencode 测试官方推荐配置 |
Owner
Author
|
/opencode 测试添加 actions: read 权限 |
Owner
Author
|
/oc summary |
foxzool
added a commit
that referenced
this pull request
Jan 29, 2026
* test: 添加 OpenCode action 测试文件 * fix: 添加 opencode action 所需的权限 * fix: 移除 persist-credentials 并显式传递 GITHUB_TOKEN * fix: 根据 OpenCode 官方文档更新 workflow 配置 * fix: 添加 USE_GITHUB_TOKEN 环境变量绕过 OIDC 限制 * fix: 修正 USE_GITHUB_TOKEN 为输入参数 * fix: 使用具体版本 v1.1.34 替代 @latest * fix: 同时设置 GITHUB_TOKEN 环境变量和 use_github_token 参数 * fix: 使用 fetch-depth: 1 和 persist-credentials: false * fix: 添加 actions: read 权限 * fix: 简化 opencode workflow 配置(降级权限为只读并移除不必要参数) * fix: 恢复 opencode workflow 所需的写权限和配置参数
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
测试目标
测试 opencode GitHub Action 的触发和执行。
测试步骤
/opencode触发 action预期结果
opencode action 应该:
/opencode或/oc评论命令相关配置
.github/workflows/opencode.yml/opencode或/oc