Show / Hide Table of Contents

Class GitHubActionsConfiguration

Extends a Verify configuration with appropriate data to reach and use the build service provided by a GitHub Action.

Inheritance
object
VerifyConfiguration
GitHubActionsConfiguration
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AdmService.Models
Assembly: OCI.DotNetSDK.Adm.dll
Syntax
public class GitHubActionsConfiguration : VerifyConfiguration

Properties

AdditionalParameters

Declaration
[JsonProperty(PropertyName = "additionalParameters")]
public Dictionary<string, string> AdditionalParameters { get; set; }
Property Value
Type Description
Dictionary<string, string>

Additional key-value pairs passed as parameters to the build service when running an experiment.

PatSecretId

Declaration
[Required(ErrorMessage = "PatSecretId is required.")]
[JsonProperty(PropertyName = "patSecretId")]
public string PatSecretId { get; set; }
Property Value
Type Description
string

The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret. The PAT provides the credentials to access the GitHub Action.

Remarks

Required

RepositoryUrl

Declaration
[Required(ErrorMessage = "RepositoryUrl is required.")]
[JsonProperty(PropertyName = "repositoryUrl")]
public string RepositoryUrl { get; set; }
Property Value
Type Description
string

The location of the repository where the GitHub Actions is defined. For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]

Remarks

Required

Username

Declaration
[Required(ErrorMessage = "Username is required.")]
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
Property Value
Type Description
string

The username that will trigger the GitHub Action.

Remarks

Required

WorkflowName

Declaration
[Required(ErrorMessage = "WorkflowName is required.")]
[JsonProperty(PropertyName = "workflowName")]
public string WorkflowName { get; set; }
Property Value
Type Description
string

The name of the GitHub Actions workflow that defines the build pipeline.

Remarks

Required

In this article
Back to top