Skip to content

Commit

Permalink
Merge pull request #258 from dotnetcore/any
Browse files Browse the repository at this point in the history
增加跟进以及阶段性结束标签
  • Loading branch information
NMSAzulX authored Jan 1, 2024
2 parents 303f826 + 73c95f1 commit fcd709a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/workflow/Workflow.Runner/Runner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,11 @@ public async Task InitLabels()
var labels = SolutionRecorder.GetNewestSolution().GetAllLabels();
if (labels != null && labels.Any())
{
var labelsWithBlockUser = labels.Append(new GithubLabelBase() { Name = "aaa-block-user", Color = "ff0000", Description = "该标签为屏蔽标签,打上该标签的 ISSUE 作者将被屏蔽." });
var labelsWithBlockUser = labels
.Append(new GithubLabelBase() { Name = "aaa-block-user", Color = "ff0000", Description = "该标签为屏蔽标签,打上该标签的 ISSUE 作者将被屏蔽." })
.Append(new GithubLabelBase() { Name = "phasee-done", Color = "020E91", Description = "任务或计划阶段性结束." })
.Append(new GithubLabelBase() { Name = "continuous", Color = "AEB941", Description = "该问题或建议或编码任务将持续进行." })
;
var result = await NMSGithubSdk.ExpectLabelsCreateAndUpadateAsync(labelsWithBlockUser, repoId, ownerName, repoName);
if (result != string.Empty)
{
Expand Down

0 comments on commit fcd709a

Please sign in to comment.