Skip to content

Conversation

bhouston
Copy link
Member

Description

This PR adds a GitHub Action that responds to specific commands in GitHub issue comments:

  • /mycoder pr - Implements a PR for the given issue
  • /mycoder plan - Generates an implementation plan as a comment

Implementation Details

The GitHub Action:

  • Triggers on each new comment on any GitHub issue
  • Checks for specific command patterns in the comment
  • For /mycoder pr:
    • Checks out the repository
    • Sets up Node.js
    • Installs MyCoder via pnpm install -g mycoder
    • Runs MyCoder with --githubMode true to implement a PR for the issue
  • For /mycoder plan:
    • Similar setup, but instructs MyCoder to review the issue and submit an implementation plan

Documentation

  • Added a new documentation file docs/github-comment-commands.md with detailed information
  • Updated the README.md to mention this new feature

Testing

This PR implements the functionality for both commands as described in issue #162. After this PR is merged, we can test it in real-world scenarios and make any necessary refinements.

Closes #162

Implements a GitHub Action that responds to /mycoder pr and /mycoder plan commands in issue comments. This allows users to trigger MyCoder directly from GitHub issues. Closes #162.
@bhouston bhouston merged commit fc73241 into main Mar 10, 2025
1 check passed
Copy link

🎉 This PR is included in version 0.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@bhouston bhouston deleted the feature/issue-comment-action branch March 12, 2025 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add GitHub Action to run MyCoder in response to issue comments

1 participant