import { WorkflowClient } from "https://deno.land/x/kd_clients@v1.0.0-preview.14/mod.ts";
Provides a client for interacting with workflow runs.
Constructors
Initializes a new instance of the WorkflowClient class.
Methods
Deletes the given workflowRun in a repository with a name that matches the WorkflowClient.repoName.
Executes a workflow that matches the given workflowFileName, on a branch that matches the given branchName, for a repository with a name that matches the WorkflowClient.repoName.
Gets a list of all the workflow runs for a repository with a name that matches the WorkflowClient.repoName.
Gets all workflow with the given title for a repository with a name that matches the WorkflowClient.repoName.
Gets all completed workflow runs that match the given event, for a repository with a name that matches the WorkflowClient.repoName.
Gets all completed workflow runs for the given branch, with the given event, for a repository with a name that matches the WorkflowClient.repoName.
Gets all failed workflow runs that match the given event, for a repository with a name that matches the WorkflowClient.repoName.
Gets all failed workflow runs for the given branch, with the given event, for a repository with a name that matches the WorkflowClient.repoName. that matches the given trigger event.
Gets all of the workflow runs for pull requests for a repository with a name that matches the WorkflowClient.repoName.
Gets the first workflow with the given title for a repository with a name that matches the WorkflowClient.repoName.
Gets all workflow runs for the given branch, with the given event and status, for a repository with a name that matches the WorkflowClient.repoName.
Gets all workflow runs between the given startDate and endDate for a repository with a name that matches the WorkflowClient.repoName.
Gets all workflow runs for a pull request with a number that matches the given prNumber, for a repository with a name that matches the WorkflowClient.repoName.
Gets all workflow runs for the given branch, with the given event and status, for a repository with a name that matches the WorkflowClient.repoName.