Skip to content

Commit 660199e

Browse files
committed
feat: enable Claude Code action for production use
1 parent 425cb24 commit 660199e

File tree

1 file changed

+22
-27
lines changed

1 file changed

+22
-27
lines changed

.github/workflows/update-docs.yml

Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -73,33 +73,28 @@ jobs:
7373
git config --global user.name "github-actions[bot]"
7474
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
7575
76-
# TEMPORARY: Skip Claude Code for testing
77-
- name: Create test change
78-
run: |
79-
echo "Test change at $(date)" >> test-docs-update.md
80-
81-
# - name: Run Claude Code to update documentation
82-
# uses: anthropics/claude-code-action@v1
83-
# with:
84-
# anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
85-
# prompt: |
86-
# Read the CLAUDE.md file in this repository for documentation update policy and guidelines.
87-
88-
# ## Context
89-
# - Time window: commits since "${{ env.SINCE }}" (UTC) until now
90-
# - Today's date: ${{ env.TODAY }}
91-
# - Repositories checked out in local paths:
92-
# - repos/prompt-layer-front-end
93-
# - repos/prompt-layer-api
94-
# - repos/prompt-layer-library
95-
# - repos/prompt-layer-js
96-
97-
# ## Task
98-
# 1. Read CLAUDE.md to understand the documentation policy
99-
# 2. For each repository, examine commits since "${{ env.SINCE }}" using git log
100-
# 3. Apply the Decision Framework from CLAUDE.md strictly to identify user-facing changes
101-
# 4. Update appropriate documentation files if any changes qualify
102-
# 5. If no user-facing changes are found, make no edits
76+
- name: Run Claude Code to update documentation
77+
uses: anthropics/claude-code-action@v1
78+
with:
79+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
80+
prompt: |
81+
Read the CLAUDE.md file in this repository for documentation update policy and guidelines.
82+
83+
## Context
84+
- Time window: commits since "${{ env.SINCE }}" (UTC) until now
85+
- Today's date: ${{ env.TODAY }}
86+
- Repositories checked out in local paths:
87+
- repos/prompt-layer-front-end
88+
- repos/prompt-layer-api
89+
- repos/prompt-layer-library
90+
- repos/prompt-layer-js
91+
92+
## Task
93+
1. Read CLAUDE.md to understand the documentation policy
94+
2. For each repository, examine commits since "${{ env.SINCE }}" using git log
95+
3. Apply the Decision Framework from CLAUDE.md strictly to identify user-facing changes
96+
4. Update appropriate documentation files if any changes qualify
97+
5. If no user-facing changes are found, make no edits
10398
10499
- name: Check for changes
105100
id: check-changes

0 commit comments

Comments
 (0)