Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/shared/opencode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
tools:
edit:
bash:
- "*"
web-fetch:
safe-outputs:
messages:
footer: "> 🔥 *[{workflow_name}]({run_url}) — Powered by OpenCode*{ai_credits_suffix}{history_link}"
run-started: "🔥 OpenCode initializing... [{workflow_name}]({run_url}) begins on this {event_type}..."
run-success: "🚀 [{workflow_name}]({run_url}) **MISSION COMPLETE!** OpenCode delivered. 🔥"
run-failure: "⚠️ [{workflow_name}]({run_url}) {status}. OpenCode encountered unexpected challenges..."
---

<!-- Shared OpenCode engine integration defaults for smoke and test workflows. -->
20 changes: 11 additions & 9 deletions .github/workflows/smoke-opencode.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 1 addition & 9 deletions .github/workflows/smoke-opencode.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ engine:
id: opencode
strict: true
imports:
- shared/opencode.md
- shared/gh.md
- shared/reporting-otlp.md
- shared/otlp.md
Expand All @@ -35,10 +36,6 @@ tools:
cache-memory: true
github:
toolsets: [repos, pull_requests]
edit:
bash:
- "*"
web-fetch:
safe-outputs:
allowed-domains: [default-safe-outputs]
add-comment:
Expand All @@ -51,11 +48,6 @@ safe-outputs:
labels: [automation, testing]
add-labels:
allowed: [smoke-opencode]
messages:
footer: "> 🔥 *[{workflow_name}]({run_url}) — Powered by OpenCode*{ai_credits_suffix}{history_link}"
run-started: "🔥 OpenCode initializing... [{workflow_name}]({run_url}) begins on this {event_type}..."
run-success: "🚀 [{workflow_name}]({run_url}) **MISSION COMPLETE!** OpenCode delivered. 🔥"
run-failure: "⚠️ [{workflow_name}]({run_url}) {status}. OpenCode encountered unexpected challenges..."
timeout-minutes: 10
features:
gh-aw-detection: false
Expand Down