Skip to content

Fix claude again#1245

Merged
sbryngelson merged 2 commits intoMFlowCode:masterfrom
sbryngelson:fix-claude-again
Feb 22, 2026
Merged

Fix claude again#1245
sbryngelson merged 2 commits intoMFlowCode:masterfrom
sbryngelson:fix-claude-again

Conversation

@sbryngelson
Copy link
Copy Markdown
Member

@sbryngelson sbryngelson commented Feb 22, 2026

User description

Description

Summarize your changes and the motivation behind them.

Fixes #(issue)

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Other: describe

Testing

How did you test your changes?

Checklist

  • I added or updated tests for new behavior
  • I updated documentation if user-facing behavior changed

See the developer guide for full coding standards.

GPU changes (expand if you modified src/simulation/)
  • GPU results match CPU results
  • Tested on NVIDIA GPU or AMD GPU

CodeAnt-AI Description

Make Claude code-review workflow fork-safe and allow CI read access

What Changed

  • The workflow no longer checks out pull request code and explicitly documents that it is fork-safe, preventing secrets from being exposed on forked PRs
  • The workflow grants Claude read access to Actions/CI results so automated reviews can consider test/CI output
  • The action now receives a GitHub token bypass to avoid failing the OIDC exchange and reduces permission errors during review runs

Impact

✅ Safer fork PR reviews
✅ Claude can include CI results in reviews
✅ Fewer permission-related workflow failures

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Updated Claude Code Review workflow to enhance security and permissions.
Copilot AI review requested due to automatic review settings February 22, 2026 21:53
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Feb 22, 2026

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 22, 2026

Warning

Rate limit exceeded

@sbryngelson has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 1 minutes and 20 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@codeant-ai codeant-ai bot added the size:S This PR changes 10-29 lines, ignoring generated files label Feb 22, 2026
@sbryngelson sbryngelson merged commit e25be02 into MFlowCode:master Feb 22, 2026
26 of 27 checks passed
@codeant-ai
Copy link
Copy Markdown
Contributor

codeant-ai bot commented Feb 22, 2026

CodeAnt AI finished reviewing your PR.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the Claude Code Review GitHub Actions workflow by adding necessary permissions and a workaround for token authentication.

Changes:

  • Added actions: read permission to allow Claude to read CI results
  • Added github_token parameter as a workaround to bypass Anthropic OIDC→GitHub App token exchange
  • Cleaned up unnecessary comments and simplified the workflow file


# Optional: lets Claude read CI results
additional_permissions: |
actions: read
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The actions: read permission is specified twice: once at the job level (line 14) and once in the additional_permissions parameter (line 34). This duplication is redundant. Since the permission is already granted at the job level, it doesn't need to be included in additional_permissions. Consider removing it from one of these locations to avoid confusion.

Suggested change
actions: read

Copilot uses AI. Check for mistakes.
@sbryngelson sbryngelson deleted the fix-claude-again branch February 22, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S This PR changes 10-29 lines, ignoring generated files

Development

Successfully merging this pull request may close these issues.

2 participants