fix: grant write permissions and use @main in claude workflow#950
Merged
ashwin-ant merged 1 commit intomainfrom Feb 15, 2026
Merged
fix: grant write permissions and use @main in claude workflow#950ashwin-ant merged 1 commit intomainfrom
ashwin-ant merged 1 commit intomainfrom
Conversation
| - name: Run Claude Code | ||
| id: claude | ||
| uses: anthropics/claude-code-action@v1 | ||
| uses: anthropics/claude-code-action@main |
Contributor
There was a problem hiding this comment.
Nit: Since this is intentionally tracking main for dogfooding (rather than an oversight), a brief comment would help future contributors understand the intent and avoid "fixing" it back to a release tag:
Suggested change
| uses: anthropics/claude-code-action@main | |
| uses: anthropics/claude-code-action@main # dogfood latest changes |
Contributor
|
Clean, well-motivated fix. The PR description does a good job explaining the root cause (actions/checkout includeIf config approach breaking the git config --unset-all credential cleanup) and why API commit signing is the right solution -- it sidesteps the git CLI credential issue entirely. Summary:
No concerns with performance, test coverage, or documentation. Looks good. |
3ad648a to
3822203
Compare
chrislloyd
approved these changes
Feb 15, 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.
Switch workflow permissions from
readtowritefor contents, pull-requests, and issues so that the OIDC app token can push commits via git CLI.Also points the workflow to
@maininstead of@v1.