Skip to content

Conversation

@onairmarc
Copy link
Member

No description provided.

@onairmarc onairmarc requested a review from Copilot November 18, 2025 15:20
@EncoreDigitalGroup EncoreDigitalGroup deleted a comment from coderabbitai bot Nov 18, 2025
Copilot finished reviewing on behalf of onairmarc November 18, 2025 15:22
Copy link

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 a new "general" HTTP driver to the enrichPullRequest action, enabling integration with generic HTTP APIs for fetching pull request metadata. This provides a flexible alternative to the existing Jira-specific implementation.

  • Introduces a new general driver that fetches PR information from a configurable HTTP endpoint
  • Adds support for updating PR title, description, assignee (logged only), and labels based on API responses
  • Implements comprehensive error handling with user-friendly PR comments for various failure scenarios

Reviewed Changes

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

File Description
actions/github/enrichPullRequest/main.go Imports and invokes the new general HTTP driver based on strategy selection
actions/github/enrichPullRequest/drivers/general/general.go Implements the complete general HTTP driver with API integration and error handling
actions/github/enrichPullRequest/drivers/drivers.go Registers the new "general" driver constant and adds it to validation

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

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