Skip to content

fix: add permissions to release job in auto-release workflow#504

Merged
ashwin-ant merged 1 commit intomainfrom
ashwin/fix-auto-release-permissions
Jan 22, 2026
Merged

fix: add permissions to release job in auto-release workflow#504
ashwin-ant merged 1 commit intomainfrom
ashwin/fix-auto-release-permissions

Conversation

@ashwin-ant
Copy link
Collaborator

Summary

  • Adds contents: write and pull-requests: write permissions to the release job in the auto-release workflow
  • This ensures the reusable build-and-publish workflow has the necessary permissions to create releases and interact with pull requests

Test plan

  • Verify the auto-release workflow runs successfully on the next version bump commit
  • Confirm the release job can create GitHub releases and update pull requests as expected

Changelog

🤖 Generated with Claude Code (100% 1-shotted by claude)

Add `contents: write` and `pull-requests: write` permissions to the
release job so it can create releases and interact with pull requests.

Co-Authored-By: Claude <noreply@anthropic.com>
@ashwin-ant ashwin-ant requested a review from a team January 22, 2026 23:02
@ashwin-ant ashwin-ant enabled auto-merge (squash) January 22, 2026 23:14
@ashwin-ant ashwin-ant merged commit bfd2869 into main Jan 22, 2026
27 checks passed
@ashwin-ant ashwin-ant deleted the ashwin/fix-auto-release-permissions branch January 22, 2026 23:17
ashwin-ant added a commit that referenced this pull request Jan 23, 2026
Bump version to 0.1.22 and update changelog with:
- feat: add tool_use_result field to UserMessage (#495)
- fix: add permissions to release job in auto-release workflow (#504)
- chore: bump bundled CLI version to 2.1.19
- chore: extract build-and-publish workflow into reusable component (#488)

Co-Authored-By: Claude <noreply@anthropic.com>
@ashwin-ant ashwin-ant mentioned this pull request Jan 23, 2026
3 tasks
ashwin-ant added a commit that referenced this pull request Jan 23, 2026
## Summary

- Bumps version from 0.1.21 to 0.1.22 in `pyproject.toml` and
`src/claude_agent_sdk/_version.py`
- Updates `CHANGELOG.md` with new entries for features, bug fixes, and
internal changes included in this release

## Test plan

- [ ] Verify version strings are consistent across `pyproject.toml` and
`_version.py`
- [ ] Verify changelog entry is properly formatted and references
correct PRs
- [ ] Confirm package builds successfully with the new version

## Changelog
<!-- CHANGELOG:START -->
Release v0.1.22 with the following changes:
- Added `tool_use_result` field to `UserMessage` (#495)
- Added permissions to release job in auto-release workflow (#504)
- Updated bundled Claude CLI to version 2.1.19
- Extracted build-and-publish workflow into reusable component (#488)
<!-- CHANGELOG:END -->

🤖 Generated with [Claude Code](https://claude.com/claude-code) (100%
11-shotted by claude)

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants