Skip to content

Commit 29fad80

Browse files
authored
The previous logic only worked for new issues (#394)
Set anu updated issue to "committed" rather than "new".
1 parent 8ddd745 commit 29fad80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actions/sequester/Quest2GitHub/QuestGitHubService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,9 @@ private async Task RetrieveLabelIdsAsync(string org, string repo)
384384
patchDocument.Add(assignPatch);
385385
}
386386
bool questItemOpen = questItem.State is not "Closed";
387+
proposedQuestState = ghIssue.IsOpen ? "Committed" : "Closed";
387388
if (ghIssue.IsOpen != questItemOpen)
388389
{
389-
proposedQuestState = ghIssue.IsOpen ? "Committed" : "Closed";
390390

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

0 commit comments

Comments
 (0)