Skip to content

Commit 3b6ffcd

Browse files
ashwin-antclaude
andcommitted
fix: move fetch-depth to publish job and use claude-opus-4-5 for changelog
The fetch-depth: 0 was on build-wheels but changelog generation happens in the publish job. Moved it to the correct location and upgraded the model for better changelog generation. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent cf6b85f commit 3b6ffcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ jobs:
6868

6969
steps:
7070
- uses: actions/checkout@v4
71-
with:
72-
fetch-depth: 0 # Fetch all history including tags (necessary for changelog generation)
7371

7472
- name: Set up Python
7573
uses: actions/setup-python@v5
@@ -109,6 +107,7 @@ jobs:
109107
- uses: actions/checkout@v4
110108
with:
111109
token: ${{ secrets.GITHUB_TOKEN }}
110+
fetch-depth: 0 # Fetch all history including tags for changelog generation
112111

113112
- name: Set up Python
114113
uses: actions/setup-python@v5
@@ -188,6 +187,7 @@ jobs:
188187
prompt: "/generate-changelog new version: ${{ env.VERSION }}, old version: ${{ steps.previous_tag.outputs.previous_tag }}"
189188
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
190189
github_token: ${{ secrets.GITHUB_TOKEN }}
190+
model: claude-opus-4-5
191191
claude_args: |
192192
--allowedTools 'Bash(git add:*),Bash(git commit:*),Edit'
193193

0 commit comments

Comments
 (0)