Skip to content

docs(cluster-variables): document metadata bag #1269

docs(cluster-variables): document metadata bag

docs(cluster-variables): document metadata bag #1269

Workflow file for this run

name: Claude PR Review
on:
issue_comment:
types: [created]
pull_request_review_comment:
types: [created]
jobs:
claude-review:
if: |
(github.event_name == 'pull_request_review_comment' &&
contains(github.event.comment.body, '@claude') &&
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association)) ||
(github.event_name == 'issue_comment' &&
github.event.issue.pull_request != null &&
contains(github.event.comment.body, '@claude') &&
contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association))
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
issues: write
steps:
- uses: actions/checkout@v7
- name: Import secrets from Vault
id: secrets
uses: hashicorp/vault-action@79632e33d6953d190b940ffa440bf97821cabd80
with:
url: ${{ secrets.VAULT_ADDR }}
method: approle
roleId: ${{ secrets.VAULT_ROLE_ID }}
secretId: ${{ secrets.VAULT_SECRET_ID }}
secrets: |
secret/data/products/camunda-docs/ci/claude-reviewer ANTHROPIC_API_KEY;
- uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ steps.secrets.outputs.ANTHROPIC_API_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
prompt: |
A commenter left this message on this pull request:
"${{ github.event.comment.body }}"
If the message is just the "@claude" mention on its own, or a generic ask like "review this" or "please review", perform a full review of this pull request against the Camunda docs contribution standards referenced from AGENTS.md. Post inline review comments on the specific lines where issues are found. For each issue, include a concrete fix using GitHub's suggestion block format so the author can apply it directly:
```suggestion
<replacement text here>
```
Use suggestion blocks whenever a fix can be expressed as a direct text replacement on the commented line(s).
Otherwise, address the specific request directly instead of doing a general review. Depending on what is being asked, this may mean:
- Answering a question about the code or documentation in a reply comment.
- Making the requested changes and pushing them as a new commit to this PR's branch.
- Opening a new pull request if the request is out of scope for this PR.
Follow the Camunda docs contribution standards referenced from AGENTS.md for any content changes.