config runner via PAT. (#874)

This commit is contained in:
Tingluo Huang
2020-12-25 21:54:23 -05:00
committed by GitHub
parent 31474098ff
commit 81a00fff3e
4 changed files with 119 additions and 5 deletions

View File

@@ -99,9 +99,11 @@ namespace GitHub.Runner.Common
// Secret args. Must be added to the "Secrets" getter as well.
public static readonly string Token = "token";
public static readonly string PAT = "pat";
public static readonly string WindowsLogonPassword = "windowslogonpassword";
public static string[] Secrets => new[]
{
PAT,
Token,
WindowsLogonPassword,
};