Safe Haskell | None |
---|---|
Language | Haskell2010 |
GitHub.Endpoints.Actions.Workflows
Synopsis
- repositoryWorkflowsR :: Name Owner -> Name Repo -> FetchCount -> GenRequest ('MtJSON :: MediaType Type) 'RA (WithTotalCount Workflow)
- workflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest ('MtJSON :: MediaType Type) 'RA Workflow
- disableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest ('MtUnit :: MediaType Type) 'RW ()
- triggerWorkflowR :: (ToJSON a, IsPathPart idOrName) => Name Owner -> Name Repo -> idOrName -> CreateWorkflowDispatchEvent a -> GenRequest ('MtUnit :: MediaType Type) 'RW ()
- enableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest ('MtUnit :: MediaType Type) 'RW ()
- module GitHub.Data
Documentation
repositoryWorkflowsR :: Name Owner -> Name Repo -> FetchCount -> GenRequest ('MtJSON :: MediaType Type) 'RA (WithTotalCount Workflow) Source #
List repository workflows. See https://docs.github.com/en/rest/actions/workflows#list-repository-workflows
workflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest ('MtJSON :: MediaType Type) 'RA Workflow Source #
Get a workflow. See https://docs.github.com/en/rest/actions/workflows#get-a-workflow
disableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest ('MtUnit :: MediaType Type) 'RW () Source #
Disable a workflow. See https://docs.github.com/en/rest/actions/workflows#disable-a-workflow
triggerWorkflowR :: (ToJSON a, IsPathPart idOrName) => Name Owner -> Name Repo -> idOrName -> CreateWorkflowDispatchEvent a -> GenRequest ('MtUnit :: MediaType Type) 'RW () Source #
Create a workflow dispatch event. See https://docs.github.com/en/rest/actions/workflows#create-a-workflow-dispatch-event
enableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest ('MtUnit :: MediaType Type) 'RW () Source #
Enable a workflow. See https://docs.github.com/en/rest/actions/workflows#enable-a-workflow
module GitHub.Data