feat: add reusable OpenCode runner - #40
Open
xnoto wants to merge 2 commits into
Open
Conversation
Shared Workflows CIShared workflows CI passed. View run output |
14 tasks
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.
Summary
Adds a reusable, caller-scoped OpenCode GitHub Actions workflow. It receives only a caller repository path containing canonical agents and skills plus
KIMI_API_KEY; stages an isolated runner configuration; installs OpenCode1.18.23; and invokesopencode github runwith sharing disabled.Fixes # — not applicable
Type of change
Validation
lintpassedImpact and rollout
Producer:
makeitworkcloud/shared-workflowsowns the reusableopencode.ymlworkflow interface. It accepts one requiredconfig-source-pathinput and one requiredKIMI_API_KEYsecret. The workflow runs onubuntu-24.04, checks out the caller repository, and needs caller-grantedcontents,pull-requests, andissueswrite permissions for OpenCode's existing branch/comment delivery behavior.Existing callers do not reference
opencode.ymland are unchanged. The pending charts caller in makeitworkcloud/charts#66 pins this workflow to immutable commit73444d2177762549d8c476dc612f23811e0a2180; no existing reusable interface, ARC runner contract, OpenTofu behavior, chart artifact, GitOps desired state, or deployment changes in this PR.The runner requires a
KIMI_API_KEYActions secret in each opt-in caller. Currenttfroot-githubsource does not distribute it tocharts; encrypted-secret provisioning is a separate confirmation- and OpenTofu-gated change.Safety and secrets
AI agent materially produced this change. Knowledge source revision consulted:
25417c8d85ca246f7afb570630bf4ca463401999. Existing caller search found onlyopentofu.ymland_dependabot-notify.ymlconsumers; neither is changed.