Skip to content

Commit

Permalink
Treat jitconfig as secret. (actions#2335)
Browse files Browse the repository at this point in the history
Co-authored-by: TingluoHuang <TingluoHuang@github.com>
  • Loading branch information
nikola-jokic and TingluoHuang authored Dec 21, 2022
1 parent 72830cf commit 332b97f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Runner.Common/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ public static class CommandLine
public static class Args
{
public static readonly string Auth = "auth";
public static readonly string JitConfig = "jitconfig";
public static readonly string Labels = "labels";
public static readonly string MonitorSocketAddress = "monitorsocketaddress";
public static readonly string Name = "name";
Expand All @@ -105,11 +104,13 @@ public static class Args
public static readonly string Token = "token";
public static readonly string PAT = "pat";
public static readonly string WindowsLogonPassword = "windowslogonpassword";
public static readonly string JitConfig = "jitconfig";
public static string[] Secrets => new[]
{
PAT,
Token,
WindowsLogonPassword,
JitConfig,
};
}

Expand Down

0 comments on commit 332b97f

Please sign in to comment.