ActionsApi class
Provides functionality to interact with the GitHub Actions API.
This API allows you to manage and interact with GitHub Actions workflows and runs.
Import this file to use the ActionsApi class:
import 'package:github_kit/src/api/actions.dart';
See also:
Constructors
- ActionsApi.new(SendRequestFunction _sendRequest)
- Creates a new ActionsApi instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelWorkflowRun(
String owner, String repo, int runId) → Future< void> - Cancels a workflow run.
-
createWorkflowDispatch(
String owner, String repo, String workflowId, String ref, {Map< String, dynamic> ? inputs}) → Future<WorkflowRun> - Creates a workflow dispatch event.
-
getWorkflowRun(
String owner, String repo, int runId) → Future< WorkflowRun> - Fetches a workflow run by its ID.
-
listWorkflows(
String owner, String repo) → Future< List< Workflow> > - Lists workflows for a repository.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rerunWorkflowRun(
String owner, String repo, int runId) → Future< void> - Reruns a workflow run.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited