takt/.github/workflows/takt-action.yml
2026-01-31 22:23:27 +09:00

26 lines
730 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 }}