26 lines
705 B
YAML
26 lines
705 B
YAML
name: Codex Reply
|
|
|
|
on:
|
|
issue_comment:
|
|
types: [created]
|
|
|
|
jobs:
|
|
codex:
|
|
runs-on: linux_amd64
|
|
if: contains(github.event.comment.body, '@codex')
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: ./install-opencode
|
|
|
|
- uses: ./codex-reply
|
|
with:
|
|
issue-number: ${{ github.event.issue.number }}
|
|
repository: ${{ github.repository }}
|
|
comment-body: ${{ github.event.comment.body }}
|
|
comment-author: ${{ github.event.comment.user.login }}
|
|
issue-title: ${{ github.event.issue.title }}
|
|
issue-body: ${{ github.event.issue.body }}
|
|
api-token: ${{ secrets.TOKEN }}
|
|
api-key: ${{ secrets.OPENCODE_API_KEY }}
|