takt/.github/workflows/takt-action.yml
2026-02-01 09:44:31 +09:00

27 lines
791 B
YAML

name: TAKT Action
on:
issue_comment:
types: [created]
jobs:
takt:
# Uncomment to allow organization members or collaborators:
# || github.event.comment.author_association == 'MEMBER'
# || github.event.comment.author_association == 'COLLABORATOR'
if: |
contains(github.event.comment.body, '@takt') &&
github.event.comment.author_association == 'OWNER'
runs-on: ubuntu-latest
permissions:
issues: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: nrslib/takt-action@main
with:
anthropic_api_key: ${{ secrets.TAKT_ANTHROPIC_API_KEY }}
model: ${{ vars.TAKT_MODEL }}
github_token: ${{ secrets.GITHUB_TOKEN }}
log_output: ${{ vars.TAKT_LOG_OUTPUT || 'false' }}