Skip to content

Commit 5625286

Browse files
ashwin-antclaude
andauthored
fix: move fetch-depth to publish job and use claude-opus-4-5 for changelog (#394)
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 5625286

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
@@ -189,6 +188,7 @@ jobs:
189188
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
190189
github_token: ${{ secrets.GITHUB_TOKEN }}
191190
claude_args: |
191+
--model claude-opus-4-5
192192
--allowedTools 'Bash(git add:*),Bash(git commit:*),Edit'
193193
194194
- name: Push branch and create PR

0 commit comments

Comments
 (0)