Skip to content

Fix Claude Code workflow permissions and Node 20 deprecation warning - #3

Merged
Sarita8888 merged 2 commits into
mainfrom
claude/github-issue-error-o8703l
Aug 18, 2026
Merged

Sarita8888 merged 2 commits into
mainfrom
claude/github-issue-error-o8703l

Conversation

@Sarita8888

Copy link
Copy Markdown
Owner

Summary

  • .github/workflows/claude.yml granted only contents: read, so claude-code-action restricted the agent to a read-only toolset (no Write/Edit tools). This is why the run triggered by issue Build complete Market Data backend #2 ("Build complete Market Data backend") failed after 81 turns with is_error:true and never created or pushed any files. Changed to contents: write.
  • actions/checkout@v4 still bundles a Node 20 runtime, which GitHub Actions now forces onto Node 24 with a deprecation warning on every run. Bumped both claude.yml and claude-code-review.yml to actions/checkout@v5 (Node 24-native) to clear the warning.

Test plan

  • Merge and re-trigger issue Build complete Market Data backend #2 (comment @claude) to confirm the agent can now create/write files and push a branch
  • Confirm the Node 20 deprecation warning no longer appears in workflow run annotations

Generated with Claude Code


Generated by Claude Code

claude added 2 commits August 18, 2026 13:50
Issue #2 failed because claude.yml only granted contents:read,
which caused claude-code-action to restrict the agent to a
read-only toolset (no Write/Edit tools). The agent had no way to
create the requested backend files and errored out after 81 turns.
v4 still bundles a Node 20 runtime, which GitHub Actions now forces
onto Node 24 with a deprecation warning on every run. v5 is Node
24-native.
@Sarita8888
Sarita8888 merged commit 652c09d into main Aug 18, 2026
1 check passed
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