Skip to content

Commit

Permalink
The previous logic only worked for new issues (#394)
Browse files Browse the repository at this point in the history
Set anu updated issue to "committed" rather than "new".
  • Loading branch information
BillWagner committed Aug 15, 2024
1 parent 8ddd745 commit 29fad80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actions/sequester/Quest2GitHub/QuestGitHubService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,9 @@ private async Task RetrieveLabelIdsAsync(string org, string repo)
patchDocument.Add(assignPatch);
}
bool questItemOpen = questItem.State is not "Closed";
proposedQuestState = ghIssue.IsOpen ? "Committed" : "Closed";
if (ghIssue.IsOpen != questItemOpen)
{
proposedQuestState = ghIssue.IsOpen ? "Committed" : "Closed";

// When the issue is opened or closed,
// update the description. That picks up any new
Expand Down

0 comments on commit 29fad80

Please sign in to comment.