Aggiunge action codex-reply e workflow @codex

This commit is contained in:
2026-05-31 00:42:55 +02:00
parent 87ee3d4c0f
commit 929cf8419e
2 changed files with 163 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
name: Codex Reply
on:
issue_comment:
types: [created]
jobs:
codex:
runs-on: linux_amd64
if: |
contains(github.event.comment.body, '@codex') &&
github.event.comment.user.login != 'anuti'
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 }}