mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
* call run service renewjob * format * formatting * make it private and expose internals * lint * fix exception class * lint * fix test as well
15 lines
356 B
C#
15 lines
356 B
C#
namespace GitHub.Runner.Common.Util
|
|
{
|
|
using System;
|
|
using GitHub.DistributedTask.WebApi;
|
|
|
|
public static class MessageUtil
|
|
{
|
|
public static bool IsRunServiceJob(string messageType)
|
|
{
|
|
return string.Equals(messageType, JobRequestMessageTypes.RunnerJobRequest, StringComparison.OrdinalIgnoreCase);
|
|
}
|
|
}
|
|
}
|
|
|