From bf964ec2ac967365dea93967f0a78a02052cb600 Mon Sep 17 00:00:00 2001 From: oguzhankoral Date: Sun, 1 Dec 2024 01:52:52 +0300 Subject: [PATCH] more verbose --- Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs | 1 + Sdk/FeatureImpactAnalyzer/Program.cs | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs b/Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs index ba0ca750e..28fde788d 100644 --- a/Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs +++ b/Sdk/FeatureImpactAnalyzer/GitHubPullRequestAnalyzer.cs @@ -32,6 +32,7 @@ int pullRequestNumber var changedFiles = await _client .PullRequest.Files(repositoryOwner, repositoryName, pullRequestNumber) .ConfigureAwait(true); + Console.WriteLine($"Changed Files:\n {changedFiles}"); var sideEffectReports = new List(); diff --git a/Sdk/FeatureImpactAnalyzer/Program.cs b/Sdk/FeatureImpactAnalyzer/Program.cs index 8da090666..56f50ff29 100644 --- a/Sdk/FeatureImpactAnalyzer/Program.cs +++ b/Sdk/FeatureImpactAnalyzer/Program.cs @@ -23,6 +23,9 @@ public static async Task Main(string[] args) { var (owner, name) = ParseRepository(repo); var analyzer = new GitHubPullRequestAnalyzer(token); + Console.WriteLine($"Name: {name}"); + Console.WriteLine($"Owner: {owner}"); + Console.WriteLine($"Analyzing PR {prNumber}"); var sideEffects = await analyzer.AnalyzePullRequestChangesAsync(owner, name, prNumber).ConfigureAwait(true);