Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- repositoryWorkflowsR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON 'RA (WithTotalCount Workflow)
- workflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtJSON 'RA Workflow
- disableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtUnit 'RW ()
- triggerWorkflowR :: (ToJSON a, IsPathPart idOrName) => Name Owner -> Name Repo -> idOrName -> CreateWorkflowDispatchEvent a -> GenRequest 'MtUnit 'RW ()
- enableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest 'MtUnit 'RW ()
- module GitHub.Data
Documentation
repositoryWorkflowsR :: Name Owner -> Name Repo -> FetchCount -> GenRequest 'MtJSON '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 '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 '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 '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 'RW () Source #
Enable a workflow. See https://docs.github.com/en/rest/actions/workflows#enable-a-workflow
module GitHub.Data