Skip to content

Commit 5114a65

Browse files
authored
Dont dry run (#414)
* Yeah, dry run snuck in again * dry run has snuck in too many times. Nuke it Remove this, because it's snuck into production one too many times.
1 parent 0393ddf commit 5114a65

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

actions/sequester/ImportIssues/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ await serviceWorker.ProcessIssue(
7272
else
7373
{
7474
await serviceWorker.ProcessIssues(
75-
org, repo, duration ?? -1, true);
75+
org, repo, duration ?? -1);
7676
}
7777
}
7878
catch (InvalidOperationException e) when (e.Message.StartsWith("HTTP error:"))

actions/sequester/Quest2GitHub/QuestGitHubService.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ public class QuestGitHubService(
5555
/// <param name="organization">The GitHub org</param>
5656
/// <param name="repository">The GitHub repository</param>
5757
/// <param name="duration">How far back to examine.</param>
58-
/// <param name="dryRun">true for a dry run, false to process all issues</param>
5958
/// <returns></returns>
60-
public async Task ProcessIssues(string organization, string repository, int duration, bool dryRun)
59+
public async Task ProcessIssues(string organization, string repository, int duration)
6160
{
6261
if (_importTriggerLabel is null || _importedLabel is null)
6362
{
@@ -104,7 +103,7 @@ async Task ProcessItems(IAsyncEnumerable<QuestIssueOrPullRequest> items)
104103
Console.WriteLine($"{item.Number}: {item.Title}, {item.LatestStoryPointSize()?.Month ?? "???"}-{(item.LatestStoryPointSize()?.CalendarYear)?.ToString() ?? "??"}");
105104
// Console.WriteLine(item);
106105
QuestWorkItem? questItem = await FindLinkedWorkItemAsync(item);
107-
if (dryRun is false && currentIteration is not null)
106+
if (currentIteration is not null)
108107
{
109108
if (questItem != null)
110109
{

0 commit comments

Comments
 (0)