Skip to content

Commit

Permalink
fix case nonesense
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticroentgen committed May 12, 2024
1 parent fc17ca4 commit adcc17f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ internal class Program
{"prysmaticlabs/prysm","build-push-prysm.yml"},
{"paradigmxyz/reth","build-push-reth.yml"},
{"consensys/teku","build-push-teku.yml"},
{"MariusVanDerWijden/tx-fuzz","build-push-tx-fuzz.yml"},
{"mariusvanderwijden/tx-fuzz","build-push-tx-fuzz.yml"},
};

private static string _gitHubToken = String.Empty;
Expand Down Expand Up @@ -172,7 +172,7 @@ private static async Task<bool> TriggerGitHubWorkflow(string gitHubToken, string
};

// Check if given repo is a direct map
if (!RepoToWorkflow.TryGetValue(repo, out string? workflowId))
if (!RepoToWorkflow.TryGetValue(repo.ToLower(), out string? workflowId))
{
Console.WriteLine($"Repo {repo} not in the workflow map. checking for fork.");

Expand All @@ -195,7 +195,7 @@ private static async Task<bool> TriggerGitHubWorkflow(string gitHubToken, string
string? parentRepo = forkJson.RootElement.GetProperty("parent").GetProperty("full_name").GetString();

// Check if we have a workflow for the parent
if (!RepoToWorkflow.TryGetValue(parentRepo, out workflowId))
if (!RepoToWorkflow.TryGetValue(parentRepo.ToLower(), out workflowId))
{
return false;
}
Expand Down

0 comments on commit adcc17f

Please sign in to comment.