mirror of
https://github.com/actions/runner.git
synced 2025-12-14 13:43:33 +00:00
GitHub Actions Runner
This commit is contained in:
43
src/Sdk/BuildWebApi/Api/Contracts/Forks.cs
Normal file
43
src/Sdk/BuildWebApi/Api/Contracts/Forks.cs
Normal file
@@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Runtime.Serialization;
|
||||
using GitHub.Services.WebApi;
|
||||
|
||||
namespace GitHub.Build.WebApi
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents the ability to build forks of the selected repository.
|
||||
/// </summary>
|
||||
[DataContract]
|
||||
public sealed class Forks : BaseSecuredObject
|
||||
{
|
||||
public Forks()
|
||||
{
|
||||
}
|
||||
|
||||
internal Forks(
|
||||
ISecuredObject securedObject)
|
||||
: base(securedObject)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Indicates whether the trigger should queue builds for forks of the selected repository.
|
||||
/// </summary>
|
||||
[DataMember]
|
||||
public Boolean Enabled
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Indicates whether a build should use secrets when building forks of the selected repository.
|
||||
/// </summary>
|
||||
[DataMember]
|
||||
public Boolean AllowSecrets
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user