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
21 changes: 21 additions & 0 deletions .github/workflows/opencode-pr-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copy to <target-repo>/.github/workflows/opencode-pr-review.yml
# Requires MODEL_API_KEY and BOT_TOKEN secrets on the target repo (Settings →
# Secrets → Actions). BOT_TOKEN is a PAT (classic `repo` scope) that lets the
# runner fetch this fleet's private config repo. Pin @main to a SHA if you prefer.
name: opencode-pr-review
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
review:
uses: arz282-ctrl/Git-Bot/.github/workflows/reusable-pr-review.yml@main
permissions:
contents: read
pull-requests: write
issues: read
with:
ref: ${{ github.event.pull_request.head.sha }}
base_ref: ${{ github.event.pull_request.base.ref }}
secrets:
model_api_key: ${{ secrets.MODEL_API_KEY }}
bot_token: ${{ secrets.BOT_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/opencode-triage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copy to <target-repo>/.github/workflows/opencode-triage.yml
# Requires MODEL_API_KEY and BOT_TOKEN secrets on the target repo.
# BOT_TOKEN is a PAT (classic `repo` scope) for the private fleet config repo.
name: opencode-triage
on:
issues:
types: [opened]
jobs:
triage:
uses: arz282-ctrl/Git-Bot/.github/workflows/reusable-triage.yml@main
permissions:
contents: read
issues: write
secrets:
model_api_key: ${{ secrets.MODEL_API_KEY }}
bot_token: ${{ secrets.BOT_TOKEN }}
Loading