Give Claude write permission so it can write to the PR#222
Closed
chrisghill wants to merge 1 commit intomainfrom
Closed
Give Claude write permission so it can write to the PR#222chrisghill wants to merge 1 commit intomainfrom
chrisghill wants to merge 1 commit intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds GitHub Actions permissions and workflows to let Anthropic Claude interact with PRs/issues using write access, and introduces automated release-note generation on tag pushes.
Changes:
- Elevates
claude.ymlworkflow permissions from read to write for contents/PRs/issues. - Elevates
claude-code-review.ymlpermissions to allow writing PR/issue comments. - Extends
release.yamlto run a new post-release job that asks Claude to generate and publish release notes viagh release edit.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/release.yaml | Adds OIDC token permission and a new release-notes job that uses Claude to generate/edit release notes on tag pushes. |
| .github/workflows/claude.yml | Grants Claude write permissions when triggered by issues/comments containing @claude. |
| .github/workflows/claude-code-review.yml | Grants Claude write permissions to post review feedback on PRs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Comment on lines
21
to
25
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| issues: read | ||
| contents: write | ||
| pull-requests: write | ||
| issues: write | ||
| id-token: write |
Member
Author
Comment on lines
21
to
27
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: read | ||
| issues: read | ||
| pull-requests: write | ||
| issues: write | ||
| id-token: write | ||
|
|
Comment on lines
+39
to
+46
| - uses: anthropics/claude-code-action@v1 | ||
| with: | ||
| claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} | ||
| prompt: | | ||
| Generate release notes for the tag ${{ github.ref_name }}. | ||
| Use `git log` to find all commits since the previous tag. | ||
| Format the release notes in markdown with sections for Features, Bug Fixes, and Improvements (omit empty sections). | ||
| Use the `gh release edit ${{ github.ref_name }}` command to update the GitHub release body with the generated notes. |
ChristensenJoe
approved these changes
Mar 17, 2026
|
@chrisghill I've opened a new pull request, #224, to work on those changes. Once the pull request is ready, I'll request review from you. |
coryodaniel
approved these changes
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This also adds a workflow on tagging that will use claude to generate release notes.