Skip to content

Conversation

@ovitrif
Copy link
Collaborator

@ovitrif ovitrif commented Jan 12, 2026

Description

This PR aligns the iOS repository's Claude GitHub Actions workflows with the improved patterns from bitkit-android PR #591.

Changes:

Warning

The claude reviews will resume working only AFTER this PR is merged.

  1. Security improvements to claude.yml

    • Added author association checks (OWNER, MEMBER, COLLABORATOR required to trigger @claude)
    • Prevents external contributors from triggering Claude workflows
  2. Functionality improvements to claude.yml

    • Updated permissions to write for contents, pull-requests, and issues
    • Changed fetch-depth from 1 to 0 for full git history (enables git operations)
  3. UX improvements to claude-code-review.yml

    • Added step to minimize old Claude comments using GitHub GraphQL API
    • Old review comments are collapsed as "OUTDATED" before posting new review
    • Updated permissions to write for pull-requests and issues
  4. New /pr command

    • Interactive PR creation with --dry and --draft options
    • Dynamic repository detection (works across any repo)
    • Auto-detect default branch (main vs master)
    • Issue linking from commits
    • Suggested reviewers from CODEOWNERS and recent contributors
  5. Cross-agent compatibility

    • Added .cursor/commands/pr.md symlink pointing to the Claude command

Linked Issues/Tasks

Aligns with bitkit-android#591

Screenshot / Video

N/A - workflow changes only

@ovitrif ovitrif force-pushed the fix/claude-reviews branch from 9762a25 to 2074f9f Compare January 12, 2026 23:36
@ovitrif ovitrif changed the title feat: improve Claude GitHub Actions workflows feat: improve claude workflows Jan 12, 2026
@ovitrif ovitrif enabled auto-merge January 12, 2026 23:42
@ovitrif ovitrif self-assigned this Jan 12, 2026
@ovitrif ovitrif force-pushed the fix/claude-reviews branch from 2074f9f to 69822da Compare January 12, 2026 23:45
- Add author association checks to claude.yml (OWNER, MEMBER, COLLABORATOR)
- Update permissions to write for creating branches/commits
- Add full git history (fetch-depth: 0) for git operations
- Add step to minimize old Claude comments in code review workflow
- Add /pr command for interactive PR creation
- Add Cursor symlink for cross-agent compatibility
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