You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated `GitHubWebhookRepository` to save issue numbers and retrieve webhooks by issue.
- Modified `IssueRequestRepository` to interact with webhooks and include an optional issue URL.
- Improved `DevExIssuesEventProcessorService` to save webhooks with issue numbers and create issue requests as needed.
- Adjusted `DevExPullRequestEventProcessorService` to extract and save issue numbers from pull request titles.
- Added `IssueRequestRepository` dependency to `RepositoryService` and `TeamService` for better issue request management.
- Enhanced `GitHubWebhookEntity` and `IssueRequestEntity` models with new properties for issue URL and number.
_logger.LogInformation("Starting the process of the Issues event for Issue# {number} with action - {action}...",issuesEvent?.Issue.Number,issuesEvent?.Action);
_logger.LogInformation("Created issue request {IssueRequestId} for Repository={Repository}, Issue={Issue}",issueRequest.Id,repositoryName,issueNumber);
262
+
}
263
+
catch(Exceptionex)
264
+
{
265
+
_logger.LogError(ex,"Failed to create issue request for Repository={Repository}, Issue={Issue}",issuesEvent?.Repository?.Name,issuesEvent?.Issue?.Number);
Copy file name to clipboardExpand all lines: src/DevExcelerateApi/Services/DevExPullRequestEventProcessorService.cs
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -23,8 +23,13 @@ public async Task SaveAndProcessPullRequestEventAsync(WebhookHeaders headers, Pu
23
23
{
24
24
_logger.LogInformation("Starting the process of the PullRequest event for PR# {number} with action - {action}...",pullRequestEvent?.PullRequest.Number,pullRequestEvent?.Action);
0 commit comments