From 3a7f344eea45ef3d01249681d66a56c21c0d659e Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Tue, 3 Sep 2024 23:17:15 -0400 Subject: [PATCH] Fix test auth conditional --- tests/Tgstation.Server.Tests/Live/Instance/RepositoryTest.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/Tgstation.Server.Tests/Live/Instance/RepositoryTest.cs b/tests/Tgstation.Server.Tests/Live/Instance/RepositoryTest.cs index 86fe4ac911..06de611545 100644 --- a/tests/Tgstation.Server.Tests/Live/Instance/RepositoryTest.cs +++ b/tests/Tgstation.Server.Tests/Live/Instance/RepositoryTest.cs @@ -128,9 +128,7 @@ namespace Tgstation.Server.Tests.Live.Instance updated = await Checkout(new RepositoryUpdateRequest { Reference = "master" }, false, true, cancellationToken); // enable the good shit if possible - if (TestingUtils.RunningInGitHubActions - || String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("TGS_TEST_GITHUB_TOKEN")) - || Environment.MachineName.Equals("CYBERSTATIONXVI", StringComparison.OrdinalIgnoreCase)) + if (!String.IsNullOrWhiteSpace(Environment.GetEnvironmentVariable("TGS_TEST_GITHUB_TOKEN"))) await repositoryClient.Update(new RepositoryUpdateRequest { CreateGitHubDeployments = true,