Skip to content

chore: Configure Claude Code and DevBird#10

Merged
kdy1 merged 1 commit intomainfrom
kdy1/devbird
Jan 1, 2026
Merged

chore: Configure Claude Code and DevBird#10
kdy1 merged 1 commit intomainfrom
kdy1/devbird

Conversation

@kdy1
Copy link
Copy Markdown
Contributor

@kdy1 kdy1 commented Jan 1, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 1, 2026 08:38
@kdy1 kdy1 merged commit 6bd26d8 into main Jan 1, 2026
5 checks passed
@kdy1 kdy1 deleted the kdy1/devbird branch January 1, 2026 08:39
Copy link
Copy Markdown

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 adds GitHub Actions workflows to integrate Claude Code and DevBird AI-assisted development tools into the repository. The configuration enables automated code review, interactive AI assistance via comments, and manual task execution through DevBird.

Key Changes:

  • Added Claude Code integration for automated PR reviews and comment-based interactions
  • Added DevBird workflow for manual task dispatch with multiple AI agent options
  • Configured necessary permissions and secrets for AI tool authentication

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 6 comments.

File Description
.github/workflows/devbird.yml Manual workflow dispatch for DevBird tasks with configurable agents (Claude Code, Gemini, OpenAI, etc.) and execution modes
.github/workflows/claude.yml Trigger Claude Code on issue/PR comments containing @claude mentions for interactive assistance
.github/workflows/claude-code-review.yml Automated Claude Code review on PR open/sync events with quality and security feedback

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +28 to +37
description: "The agent to use for the action. Can be 'claude_code', 'gemini_cli', 'codex_cli' or 'opencode'"
type: choice
default: 'claude_code'
options:
- claude_code
- gemini_cli
- codex_cli
- opencode
- crush_cli
- github_copilot_cli
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

The description on line 28 lists available agents as 'claude_code', 'gemini_cli', 'codex_cli' or 'opencode', but the options list on lines 32-37 also includes 'crush_cli' and 'github_copilot_cli' which are not mentioned in the description. The description should be updated to include all available agent options for consistency and clarity.

Copilot uses AI. Check for mistakes.
Comment on lines +22 to +24
contents: read
pull-requests: read
issues: read
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

The permissions for the Claude Code workflow only grant read access to contents, pull-requests, and issues. However, Claude Code may need write permissions to perform actions like creating commits, updating PRs, or commenting on issues. Consider whether write permissions should be granted for contents, pull-requests, and issues similar to the DevBird workflow configuration (lines 70-72 in devbird.yml), depending on what actions Claude is expected to perform.

Suggested change
contents: read
pull-requests: read
issues: read
contents: write
pull-requests: write
issues: write

Copilot uses AI. Check for mistakes.
runs-on: 'ubuntu-latest'
permissions:
contents: read
pull-requests: read
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

The permissions only grant read access, but the workflow prompt instructs Claude to "Use gh pr comment with your Bash tool to leave your review as a comment on the PR" (line 53). This requires write permissions on pull-requests. The permissions should include "pull-requests: write" to allow Claude to post review comments.

Suggested change
pull-requests: read
pull-requests: write

Copilot uses AI. Check for mistakes.
actions: read # Required for Claude to read CI results on PRs
steps:
- name: Checkout repository
uses: actions/checkout@v4
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

The checkout action version is inconsistent across workflows. This file uses actions/checkout@v4, while devbird.yml uses actions/checkout@v5 (line 77). For consistency and to ensure all workflows benefit from the latest features and fixes, consider using the same version across all workflow files.

Suggested change
uses: actions/checkout@v4
uses: actions/checkout@v5

Copilot uses AI. Check for mistakes.

steps:
- name: Checkout repository
uses: actions/checkout@v4
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

The checkout action version is inconsistent across workflows. This file uses actions/checkout@v4, while devbird.yml uses actions/checkout@v5 (line 77). For consistency and to ensure all workflows benefit from the latest features and fixes, consider using the same version across all workflow files.

Suggested change
uses: actions/checkout@v4
uses: actions/checkout@v5

Copilot uses AI. Check for mistakes.
- Security concerns
- Test coverage

Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.
Copy link

Copilot AI Jan 1, 2026

Choose a reason for hiding this comment

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

The workflow references a CLAUDE.md file that doesn't exist in the repository. The prompt instructs Claude to "Use the repository's CLAUDE.md for guidance on style and conventions", but this file is not present in the codebase. Either this file should be created to provide Claude with project-specific guidance, or the reference should be removed from the prompt.

Suggested change
Use the repository's CLAUDE.md for guidance on style and conventions. Be constructive and helpful in your feedback.
Follow the existing project style and conventions as inferred from the codebase. Be constructive and helpful in your feedback.

Copilot uses AI. Check for mistakes.
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