Skip to content

feat: Add Couchbase key-value store support #145

feat: Add Couchbase key-value store support

feat: Add Couchbase key-value store support #145

name: Claude Mention (PR)
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
pull_request_review:
types: [submitted]
permissions:
contents: write
pull-requests: write
actions: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.issue.number || github.event.pull_request.number }}
cancel-in-progress: false
jobs:
respond:
# Only respond to trusted contributors and when @claude is mentioned on a PR
if: >-
(
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude') && github.event.issue.pull_request != null) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude'))
) &&
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association || github.event.review.author_association)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install UV
uses: astral-sh/setup-uv@v7
- name: Install dependencies
run: uv sync --all-packages --group dev
- name: Run Claude Code Assistant
uses: elastic/ai-github-actions/workflows/mention-in-pr/rwxp@v0
with:
claude-oauth-token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github-token: ${{ github.token }}
additional-instructions: |
The environment has already been setup for you.