Skip to content

Fix CI permission errors accessing /tmp files - #15

Merged
sylvansys merged 1 commit into
mainfrom
claude-proud-gopher-gpxsn7f5
Jan 4, 2026
Merged

Fix CI permission errors accessing /tmp files#15
sylvansys merged 1 commit into
mainfrom
claude-proud-gopher-gpxsn7f5

Conversation

@sylvansys

Copy link
Copy Markdown
Contributor

Summary

  • Fixed permission errors in CI workflow preventing access to /tmp/changed.txt and /tmp/issue.json
  • Migrated all temporary file operations from /tmp to .claude/review-context/ within workspace
  • Follows existing .claude/screenshots/ pattern used in UI review job

Changes

  • .gitignore: Added .claude/review-context/ to prevent committing ephemeral review artifacts
  • ci-pipeline.yml: Updated 3 review jobs (requirements, code-quality, context) to use workspace paths instead of /tmp
    • Requirements: 4 path replacements + mkdir
    • Code Quality: 2 path replacements + mkdir
    • Context: 9 path replacements + mkdir

Root Cause

GitHub Actions runs the Claude Code action in an isolated container that only has access to the checked-out repository workspace. Files created in /tmp during the job runner exist in a different filesystem and are invisible to the action.

Test Plan

  • Verify requirements review can access changed.txt and issue.json
  • Verify code-quality review can access changed.txt
  • Verify context review can access changed.txt and claude_files.txt
  • Confirm no .claude/review-context/ files are committed
  • All review jobs complete without permission errors

Closes #14

🤖 Generated with Claude Code

…ss.\n\nSession-ID: b314e448-72e8-4e98-96f8-d61b76c836d1\nSession-Timestamp: 2026-01-04T16:48:33.504Z\nBranch: claude-proud-gopher-gpxsn7f5\n\n🤖 Generated with [Claude Code](https://claude.com/claude-code)\n\nCo-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@sylvansys
sylvansys merged commit fe4210a into main Jan 4, 2026
4 of 5 checks passed
@sylvansys
sylvansys deleted the claude-proud-gopher-gpxsn7f5 branch January 4, 2026 16:54
@github-actions

github-actions Bot commented Jan 4, 2026

Copy link
Copy Markdown

Reviews

Review Status Summary
Requirements

Claude Code CI

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.

Fix CI Requirements Permission Error

1 participant