Objects
Workflow
A workflow contains meta information about an Actions workflow file.
Workflow Реализует
Поля для Workflow
| Имя. | Description |
|---|---|
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The Node ID of the Workflow object. |
| The name of the workflow. |
| The HTTP path for this workflow. |
| The runs of the workflow. Аргументы для
|
| The state of the workflow. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this workflow. |
WorkflowFileReference
A workflow that must run for this rule to pass.
Поля для WorkflowFileReference
| Имя. | Description |
|---|---|
| The path to the workflow file. |
| The ref (branch or tag) of the workflow file to use. |
| The ID of the repository where the workflow is defined. |
| The commit SHA of the workflow file to use. |
WorkflowRun
A workflow run.
WorkflowRun Реализует
Поля для WorkflowRun
| Имя. | Description |
|---|---|
| The check suite this workflow run belongs to. |
| Identifies the date and time when the object was created. |
| Identifies the primary key from the database. |
| The log of deployment reviews. Аргументы для
|
| The event that triggered the workflow run. |
| The workflow file. |
| The Node ID of the WorkflowRun object. |
| The pending deployment requests of all check runs in this workflow run. Аргументы для
|
| The HTTP path for this workflow run. |
| A number that uniquely identifies this workflow run in its parent workflow. |
| Identifies the date and time when the object was last updated. |
| The HTTP URL for this workflow run. |
| The workflow executed in this workflow run. |
WorkflowRunConnection
The connection type for WorkflowRun.
Поля для WorkflowRunConnection
| Имя. | Description |
|---|---|
| A list of edges. |
| A list of nodes. |
| Information to aid in pagination. |
| Identifies the total count of items in the connection. |
WorkflowRunEdge
An edge in a connection.
Поля для WorkflowRunEdge
| Имя. | Description |
|---|---|
| A cursor for use in pagination. |
| The item at the end of the edge. |
WorkflowRunFile
An executed workflow file for a workflow run.
WorkflowRunFile Реализует
Поля для WorkflowRunFile
| Имя. | Description |
|---|---|
| The Node ID of the WorkflowRunFile object. |
| The path of the workflow file relative to its repository. |
| The direct link to the file in the repository which stores the workflow file. |
| The repository name and owner which stores the workflow file. |
| The HTTP path for this workflow run file. |
| The parent workflow run execution for this file. |
| The HTTP URL for this workflow run file. |
| If the viewer has permissions to push to the repository which stores the workflow. |
| If the viewer has permissions to read the repository which stores the workflow. |
WorkflowsParameters
Require all changes made to a targeted branch to pass the specified workflows before they can be merged.
Поля для WorkflowsParameters
| Имя. | Description |
|---|---|
| Allow repositories and branches to be created if a check would otherwise prohibit it. |
| Workflows that must pass for this rule to pass. |
Enums
WorkflowRunOrderField
Properties by which workflow run connections can be ordered.
Значения для WorkflowRunOrderField
| Имя. | Description |
|---|---|
CREATED_AT | Order workflow runs by most recently created. |
WorkflowState
The possible states for a workflow.
Значения для WorkflowState
| Имя. | Description |
|---|---|
ACTIVE | The workflow is active. |
DELETED | The workflow was deleted from the git repository. |
DISABLED_FORK | The workflow was disabled by default on a fork. |
DISABLED_INACTIVITY | The workflow was disabled for inactivity in the repository. |
DISABLED_MANUALLY | The workflow was disabled manually. |
Input objects
WorkflowFileReferenceInput
A workflow that must run for this rule to pass.
Поля ввода для WorkflowFileReferenceInput
| Имя. | Description |
|---|---|
| The path to the workflow file. |
| The ref (branch or tag) of the workflow file to use. |
| The ID of the repository where the workflow is defined. |
| The commit SHA of the workflow file to use. |
WorkflowRunOrder
Ways in which lists of workflow runs can be ordered upon return.
Поля ввода для WorkflowRunOrder
| Имя. | Description |
|---|---|
| The direction in which to order workflow runs by the specified field. |
| The field by which to order workflows. |
WorkflowsParametersInput
Require all changes made to a targeted branch to pass the specified workflows before they can be merged.
Поля ввода для WorkflowsParametersInput
| Имя. | Description |
|---|---|
| Allow repositories and branches to be created if a check would otherwise prohibit it. |
| Workflows that must pass for this rule to pass. |