takt/.github/workflows/takt-action.yml
2026-02-01 10:03:05 +09:00

28 lines
819 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: write
pull-requests: write
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' }}