We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95e86d8 + 47027a3 commit 4e0814aCopy full SHA for 4e0814a
1 file changed
tools/dev-cli/endpoints/workflow-command.cs
@@ -82,12 +82,14 @@ private bool FindRepoRoot()
82
private CiMode DetermineMode(string? explicitMode)
83
{
84
if (!string.IsNullOrEmpty(explicitMode))
85
+ {
86
return explicitMode.ToLowerInvariant() switch
87
88
"merge" => CiMode.Merge,
89
"release" => CiMode.Release,
90
_ => CiMode.Pr,
91
};
92
+ }
93
94
string? eventName = Environment.GetEnvironmentVariable("GITHUB_EVENT_NAME");
95
Terminal.WriteLine($"GITHUB_EVENT_NAME: {eventName ?? "(not set)"}");
0 commit comments