MCPcopy Index your code
hub / github.com/anomalyco/opencode / printNextSteps

Function printNextSteps

packages/opencode/src/cli/cmd/github.handler.ts:181–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

179 printNextSteps()
180
181 function printNextSteps() {
182 let step2
183 if (provider === "amazon-bedrock") {
184 step2 =
185 "Configure OIDC in AWS - https://docs.github.com/en/actions/how-tos/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services"
186 } else {
187 step2 = [
188 ` 2. Add the following secrets in org or repo (${app.owner}/${app.repo}) settings`,
189 "",
190 ...providers[provider].env.map((e) => ` - ${e}`),
191 ].join("\n")
192 }
193
194 prompts.outro(
195 [
196 "Next steps:",
197 "",
198 ` 1. Commit the \`${WORKFLOW_FILE}\` file and push`,
199 step2,
200 "",
201 " 3. Go to a GitHub issue and comment `/oc summarize` to see the agent in action",
202 "",
203 " Learn more about the GitHub agent - https://opencode.ai/docs/github/#usage-examples",
204 ].join("\n"),
205 )
206 }
207
208 async function getAppInfo() {
209 const project = ctx.project

Callers 1

github.handler.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected