mirror of
https://github.com/actions/runner.git
synced 2025-12-12 15:13:30 +00:00
Update src/Runner.Worker/ActionManager.cs
Co-Authored-By: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
@@ -633,7 +633,7 @@ namespace GitHub.Runner.Worker
|
|||||||
// we will print the short SHA when action is referenced via branch/tag
|
// we will print the short SHA when action is referenced via branch/tag
|
||||||
if (repositoryReference.Ref.StartsWith(shortSha, StringComparison.OrdinalIgnoreCase))
|
if (repositoryReference.Ref.StartsWith(shortSha, StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
// actions is already referenced by SHA
|
// action is already referenced by SHA
|
||||||
shortSha = null;
|
shortSha = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -909,4 +909,3 @@ namespace GitHub.Runner.Worker
|
|||||||
public string ActionRepository { get; set; }
|
public string ActionRepository { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user