Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit 619f6be

Browse files
flyingrobotsclaude
andcommitted
ci: Activate Claude JSDoc enhancement in GitHub Actions
Now that CLAUDE_CODE_OAUTH_TOKEN is configured, enable the automated JSDoc generation: - Uncommented Claude integration step - Claude will analyze changed JavaScript files - Automatically creates PRs with JSDoc enhancements - Follows patterns from docs/decisions/000-javascript-not-typescript.md This completes the infrastructure for P1.T011 - comprehensive JSDoc will now be added automatically on every push with JavaScript changes. 🖖 Generated with Claude Code Co-Authored-By: Claude <[email protected]>
1 parent e1c14ba commit 619f6be

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

.github/workflows/claude-jsdoc.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,15 @@ jobs:
4848
echo "This workflow detected changed JavaScript files."
4949
echo "In production, Claude would analyze these and create a PR with JSDoc enhancements."
5050
51-
# Uncomment when Claude is configured:
52-
# - name: Run Claude JSDoc Enhancement
53-
# if: steps.changed-files.outputs.files != ''
54-
# uses: anthropics/claude-code-action@v1
55-
# with:
56-
# claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
57-
# prompt: |
58-
# Analyze these JavaScript files and add comprehensive JSDoc where missing:
59-
# ${{ steps.changed-files.outputs.files }}
60-
#
61-
# Follow the patterns from docs/decisions/000-javascript-not-typescript.md
62-
# Create a PR with the enhancements.
63-
# claude_args: '--allowed-tools "Read,Edit,MultiEdit,Bash(gh pr create:*)"'
51+
- name: Run Claude JSDoc Enhancement
52+
if: steps.changed-files.outputs.files != ''
53+
uses: anthropics/claude-code-action@v1
54+
with:
55+
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
56+
prompt: |
57+
Analyze these JavaScript files and add comprehensive JSDoc where missing:
58+
${{ steps.changed-files.outputs.files }}
59+
60+
Follow the patterns from docs/decisions/000-javascript-not-typescript.md
61+
Create a PR with the enhancements.
62+
claude_args: '--allowed-tools "Read,Edit,MultiEdit,Bash(gh pr create:*)"'

0 commit comments

Comments
 (0)