Skip to content

Commit

Permalink
Remove ratings
Browse files Browse the repository at this point in the history
  • Loading branch information
timheuer committed Nov 23, 2023
1 parent c8d8e34 commit 5a0d69c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions AddActionsWorkflow/Options/General.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,33 @@ public class GeneralOptions : BaseOptionPage<General> { }

public class General : BaseOptionModel<General>
{
[Category("Generator")]
[Category("Workflow Generator")]
[DisplayName("Default file name")]
[Description("The base name of the workflow (.yaml) file to be generated")]
[DefaultValue("build")]
public string DefaultName { get; set; } = "build";

[Category("Generator")]
[Category("Workflow Generator")]
[DisplayName("Randomize file name")]
[Description("If true, a suffix is added to the Default file name to avoid conflicts")]
[DefaultValue(true)]
public bool RandomizeFileName { get; set; } = true;

[Category("Generator")]
[Category("Workflow Generator")]
[DisplayName("Overwrite if exists")]
[Description("If true, this will overwrite same-named workflow files if exists")]
[DefaultValue(false)]
public bool OverwriteExisting { get; set; } = false;

[Category("Generator")]
[Category("Workflow Generator")]
[DisplayName("Solution Folder")]
[Description("The Solution Items folder to add these to in the Visual Studio solution")]
[DefaultValue("Solution Items")]
public string SolutionFolderName { get; set; } = "Solution Items";

[Category("Generator")]
[Category("Workflow Generator")]
[DisplayName("Current branch")]
[Description("Will use the current branch name or 'main' if false")]
[DefaultValue(true)]
public bool UseCurrentBranchName { get; set; } = true;
public int RatingRequests { get; set; }
}

0 comments on commit 5a0d69c

Please sign in to comment.