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 #
disableWorkflowR :: IsPathPart idOrName => Name Owner -> Name Repo -> idOrName -> GenRequest ('MtUnit :: MediaType Type) 'RW () Source #
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 #
module GitHub.Data