mirror of
https://github.com/actions/runner.git
synced 2025-12-18 08:17:02 +00:00
Compare updated template evaluator (#4092)
This commit is contained in:
39
src/Sdk/WorkflowParser/WorkflowConstants.cs
Normal file
39
src/Sdk/WorkflowParser/WorkflowConstants.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
|
||||
namespace GitHub.Actions.WorkflowParser
|
||||
{
|
||||
public static class WorkflowConstants
|
||||
{
|
||||
/// <summary>
|
||||
/// The default job cancel timeout in minutes.
|
||||
/// </summary>
|
||||
internal const Int32 DefaultJobCancelTimeoutInMinutes = 5;
|
||||
|
||||
/// <summary>
|
||||
/// The default job name. This job name is used when a job does not leverage multipliers
|
||||
/// or slicing and only has one implicit job.
|
||||
/// </summary>
|
||||
internal const String DefaultJobName = "__default";
|
||||
|
||||
/// <summary>
|
||||
/// The default job timeout in minutes.
|
||||
/// </summary>
|
||||
internal const Int32 DefaultJobTimeoutInMinutes = 360;
|
||||
|
||||
/// <summary>
|
||||
/// The max length for a node within a workflow - e.g. a job ID or a matrix configuration ID.
|
||||
/// </summary>
|
||||
internal const Int32 MaxNodeNameLength = 100;
|
||||
|
||||
/// <summary>
|
||||
/// Alias for the self repository.
|
||||
/// </summary>
|
||||
internal const String SelfAlias = "self";
|
||||
|
||||
public static class PermissionsPolicy
|
||||
{
|
||||
public const string LimitedRead = "LimitedRead";
|
||||
public const string Write = "Write";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user