Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/claude-documentation-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ jobs:
echo "EOF"
} >> "$GITHUB_OUTPUT"

- name: Install Vale
if: steps.pr-info.outputs.is_fork == 'false'
run: |
VERSION=$(curl -s "https://api.github.com/repos/errata-ai/vale/releases/latest" | jq -r '.tag_name')
curl -sfL "https://github.com/errata-ai/vale/releases/download/${VERSION}/vale_${VERSION#v}_Linux_64-bit.tar.gz" \
| sudo tar -xz -C /usr/local/bin vale

- name: Apply fixes
if: steps.pr-info.outputs.is_fork == 'false'
uses: anthropics/claude-code-action@v1
Expand All @@ -76,5 +83,5 @@ jobs:
show_full_output: true
claude_args: |
--model claude-sonnet-4-5-20250929
--allowedTools "Read,Write,Edit,Bash(gh pr view:*),Bash(gh pr diff:*),Bash(gh pr comment:*),Bash(git config:*),Bash(git add:*),Bash(git commit:*),Bash(git push:*),Bash(git status:*),Bash(git diff:*)"
--allowedTools "Read,Write,Edit,Bash(vale:*),Bash(gh pr view:*),Bash(gh pr diff:*),Bash(gh pr comment:*),Bash(git config:*),Bash(git add:*),Bash(git commit:*),Bash(git push:*),Bash(git status:*),Bash(git diff:*)"
--append-system-prompt "${{ steps.read-prompt.outputs.prompt }}"
5 changes: 2 additions & 3 deletions .github/workflows/claude-documentation-reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ jobs:
"To apply suggested fixes to the updated documentation, individually or in bulk, comment `@claude`"
" on this PR followed by your instructions (`@claude fix all issues`"
" or `@claude fix all linting issues` or `@claude fix only the spelling errors`).\n\n"
"To review and fix other preexisting issues in the updated documentation, comment `@claude` on this PR"
" followed by your instructions (`@claude review preexisting issues`"
" or `@claude fix preexisting issues`).\n\n"
"To review the updated documentation for preexisting issues, comment `@claude` on this PR"
" followed by your instructions (`@claude detect preexisting issues`).\n\n"
"Note: Automated fixes are only available for branches in this repository, not forks."
)

Expand Down
Loading