| Copyright | (c) 2025 Bellroy Pty Ltd |
|---|---|
| License | BSD-3-Clause |
| Maintainer | Bellroy Tech Team <haskell@bellroy.com> |
| Safe Haskell | None |
| Language | Haskell2010 |
Language.Github.Actions.Workflow.Trigger
Description
This module provides comprehensive support for GitHub Actions workflow triggers, which determine when workflows should run.
Workflow triggers respond to various GitHub events such as pushes, pull requests, issue updates, scheduled times, and external repository dispatch events. Each trigger type can be configured with specific activity types and filtering criteria.
The main types include:
WorkflowTrigger- The primary trigger type supporting all GitHub event types- Activity type enums for each event (e.g.,
PullRequestActivityType,IssuesActivityType) - Attribute types for triggers with complex configuration (e.g.,
PushTriggerAttributes)
Example usage:
import Language.Github.Actions.Workflow.Trigger
-- Trigger on push to main branch
pushTrigger :: WorkflowTrigger
pushTrigger = PushTrigger $ PushTriggerAttributes
{ branches = Just ("main" :| [])
, branchesIgnore = Nothing
, paths = Nothing
, pathsIgnore = Nothing
, tags = Nothing
}
-- Trigger on pull request opened or synchronized
prTrigger :: WorkflowTrigger
prTrigger = PullRequestTrigger $ PullRequestTriggerAttributes
{ activityTypes = Just (PullRequestOpened :| [PullRequestSynchronize])
, branches = Nothing
, branchesIgnore = Nothing
, paths = Nothing
, pathsIgnore = Nothing
}
For more information about GitHub Actions events and triggers, see: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
Synopsis
- data BranchProtectionRuleActivityType
- data CheckRunActivityType
- data DiscussionActivityType
- data DiscussionCommentActivityType
- data IssueCommentActivityType
- data IssuesActivityType
- data LabelActivityType
- data MilestoneActivityType
- data PullRequestActivityType
- = PullRequestAssigned
- | PullRequestAutoMergeDisabled
- | PullRequestAutoMergeEnabled
- | PullRequestClosed
- | PullRequestConvertedToDraft
- | PullRequestDemilestoned
- | PullRequestDequeued
- | PullRequestEdited
- | PullRequestEnqueued
- | PullRequestLabeled
- | PullRequestLocked
- | PullRequestMilestoned
- | PullRequestOpened
- | PullRequestReadyForReview
- | PullRequestReopened
- | PullRequestReviewRequestRemoved
- | PullRequestReviewRequested
- | PullRequestSynchronize
- | PullRequestUnassigned
- | PullRequestUnlabeled
- | PullRequestUnlocked
- data PullRequestReviewActivityType
- data PullRequestReviewCommentActivityType
- data PullRequestTargetActivityType
- = PullRequestTargetAssigned
- | PullRequestTargetAutoMergeDisabled
- | PullRequestTargetAutoMergeEnabled
- | PullRequestTargetClosed
- | PullRequestTargetConvertedToDraft
- | PullRequestTargetEdited
- | PullRequestTargetLabeled
- | PullRequestTargetLocked
- | PullRequestTargetOpened
- | PullRequestTargetReadyForReview
- | PullRequestTargetReopened
- | PullRequestTargetReviewRequestRemoved
- | PullRequestTargetReviewRequested
- | PullRequestTargetSynchronize
- | PullRequestTargetUnassigned
- | PullRequestTargetUnlabeled
- | PullRequestTargetUnlocked
- data PullRequestTargetTriggerAttributes = PullRequestTargetTriggerAttributes {}
- data PullRequestTriggerAttributes = PullRequestTriggerAttributes {
- activityTypes :: Maybe (NonEmpty PullRequestActivityType)
- branches :: Maybe (NonEmpty Text)
- branchesIgnore :: Maybe (NonEmpty Text)
- paths :: Maybe (NonEmpty Text)
- pathsIgnore :: Maybe (NonEmpty Text)
- data PushTriggerAttributes = PushTriggerAttributes {}
- data RegistryPackageActivityType
- data ReleaseActivityType
- data WorkflowCallAttributes = WorkflowCallAttributes {}
- newtype WorkflowDispatchAttributes = WorkflowDispatchAttributes {}
- data WorkflowDispatchInput = WorkflowDispatchInput {}
- data WorkflowDispatchInputType
- data WorkflowRunActivityType
- data WorkflowRunTriggerAttributes = WorkflowRunTriggerAttributes {}
- data WorkflowTrigger
- = BranchProtectionRuleTrigger (NonEmpty BranchProtectionRuleActivityType)
- | CheckRunTrigger (NonEmpty CheckRunActivityType)
- | CheckSuiteCompletedTrigger
- | CreateTrigger
- | DeleteTrigger
- | DeploymentTrigger
- | DeploymentStatusTrigger
- | DiscussionTrigger (NonEmpty DiscussionActivityType)
- | DiscussionCommentTrigger (NonEmpty DiscussionCommentActivityType)
- | ForkTrigger
- | GollumTrigger
- | IssueCommentTrigger (NonEmpty IssueCommentActivityType)
- | IssuesTrigger (NonEmpty IssuesActivityType)
- | LabelTrigger (NonEmpty LabelActivityType)
- | MergeGroupChecksRequestedTrigger
- | MilestoneTrigger (NonEmpty MilestoneActivityType)
- | PageBuildTrigger
- | PublicTrigger
- | PullRequestTrigger PullRequestTriggerAttributes
- | PullRequestReviewTrigger (NonEmpty PullRequestReviewActivityType)
- | PullRequestReviewCommentTrigger (NonEmpty PullRequestReviewCommentActivityType)
- | PullRequestTargetTrigger PullRequestTargetTriggerAttributes
- | PushTrigger PushTriggerAttributes
- | RegistryPackageTrigger (NonEmpty RegistryPackageActivityType)
- | ReleaseTrigger (NonEmpty ReleaseActivityType)
- | RepositoryDispatchTrigger (NonEmpty Text)
- | ScheduleTrigger (NonEmpty Text)
- | StatusTrigger
- | WatchStartedTrigger
- | WorkflowCallTrigger WorkflowCallAttributes
- | WorkflowDispatchTrigger WorkflowDispatchAttributes
- | WorkflowRunTrigger WorkflowRunTriggerAttributes
- gen :: MonadGen m => m WorkflowTrigger
Documentation
data BranchProtectionRuleActivityType Source #
Instances
data CheckRunActivityType Source #
Instances
| FromJSON CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser CheckRunActivityType # parseJSONList :: Value -> Parser [CheckRunActivityType] # | |||||
| ToJSON CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: CheckRunActivityType -> Value # toEncoding :: CheckRunActivityType -> Encoding # toJSONList :: [CheckRunActivityType] -> Value # toEncodingList :: [CheckRunActivityType] -> Encoding # omitField :: CheckRunActivityType -> Bool # | |||||
| Bounded CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: CheckRunActivityType -> CheckRunActivityType # pred :: CheckRunActivityType -> CheckRunActivityType # toEnum :: Int -> CheckRunActivityType # fromEnum :: CheckRunActivityType -> Int # enumFrom :: CheckRunActivityType -> [CheckRunActivityType] # enumFromThen :: CheckRunActivityType -> CheckRunActivityType -> [CheckRunActivityType] # enumFromTo :: CheckRunActivityType -> CheckRunActivityType -> [CheckRunActivityType] # enumFromThenTo :: CheckRunActivityType -> CheckRunActivityType -> CheckRunActivityType -> [CheckRunActivityType] # | |||||
| Generic CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: CheckRunActivityType -> Rep CheckRunActivityType x # to :: Rep CheckRunActivityType x -> CheckRunActivityType # | |||||
| Show CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> CheckRunActivityType -> ShowS # show :: CheckRunActivityType -> String # showList :: [CheckRunActivityType] -> ShowS # | |||||
| Eq CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: CheckRunActivityType -> CheckRunActivityType -> Bool # (/=) :: CheckRunActivityType -> CheckRunActivityType -> Bool # | |||||
| Ord CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: CheckRunActivityType -> CheckRunActivityType -> Ordering # (<) :: CheckRunActivityType -> CheckRunActivityType -> Bool # (<=) :: CheckRunActivityType -> CheckRunActivityType -> Bool # (>) :: CheckRunActivityType -> CheckRunActivityType -> Bool # (>=) :: CheckRunActivityType -> CheckRunActivityType -> Bool # max :: CheckRunActivityType -> CheckRunActivityType -> CheckRunActivityType # min :: CheckRunActivityType -> CheckRunActivityType -> CheckRunActivityType # | |||||
| type Rep CheckRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep CheckRunActivityType = D1 ('MetaData "CheckRunActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) ((C1 ('MetaCons "CheckRunCompleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CheckRunCreated" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "CheckRunRequestedAction" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CheckRunRerequested" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data DiscussionActivityType Source #
Constructors
| DiscussionAnswered | |
| DiscussionCategoryChanged | |
| DiscussionCreated | |
| DiscussionDeleted | |
| DiscussionEdited | |
| DiscussionLabeled | |
| DiscussionLocked | |
| DiscussionPinned | |
| DiscussionTransferred | |
| DiscussionUnanswered | |
| DiscussionUnlabeled | |
| DiscussionUnlocked | |
| DiscussionUnpinned |
Instances
| FromJSON DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser DiscussionActivityType # parseJSONList :: Value -> Parser [DiscussionActivityType] # | |||||
| ToJSON DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: DiscussionActivityType -> Value # toEncoding :: DiscussionActivityType -> Encoding # toJSONList :: [DiscussionActivityType] -> Value # toEncodingList :: [DiscussionActivityType] -> Encoding # omitField :: DiscussionActivityType -> Bool # | |||||
| Bounded DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: DiscussionActivityType -> DiscussionActivityType # pred :: DiscussionActivityType -> DiscussionActivityType # toEnum :: Int -> DiscussionActivityType # fromEnum :: DiscussionActivityType -> Int # enumFrom :: DiscussionActivityType -> [DiscussionActivityType] # enumFromThen :: DiscussionActivityType -> DiscussionActivityType -> [DiscussionActivityType] # enumFromTo :: DiscussionActivityType -> DiscussionActivityType -> [DiscussionActivityType] # enumFromThenTo :: DiscussionActivityType -> DiscussionActivityType -> DiscussionActivityType -> [DiscussionActivityType] # | |||||
| Generic DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: DiscussionActivityType -> Rep DiscussionActivityType x # to :: Rep DiscussionActivityType x -> DiscussionActivityType # | |||||
| Show DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> DiscussionActivityType -> ShowS # show :: DiscussionActivityType -> String # showList :: [DiscussionActivityType] -> ShowS # | |||||
| Eq DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: DiscussionActivityType -> DiscussionActivityType -> Bool # (/=) :: DiscussionActivityType -> DiscussionActivityType -> Bool # | |||||
| Ord DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: DiscussionActivityType -> DiscussionActivityType -> Ordering # (<) :: DiscussionActivityType -> DiscussionActivityType -> Bool # (<=) :: DiscussionActivityType -> DiscussionActivityType -> Bool # (>) :: DiscussionActivityType -> DiscussionActivityType -> Bool # (>=) :: DiscussionActivityType -> DiscussionActivityType -> Bool # max :: DiscussionActivityType -> DiscussionActivityType -> DiscussionActivityType # min :: DiscussionActivityType -> DiscussionActivityType -> DiscussionActivityType # | |||||
| type Rep DiscussionActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep DiscussionActivityType = D1 ('MetaData "DiscussionActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (((C1 ('MetaCons "DiscussionAnswered" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DiscussionCategoryChanged" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiscussionCreated" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "DiscussionDeleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DiscussionEdited" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiscussionLabeled" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "DiscussionLocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DiscussionPinned" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiscussionTransferred" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "DiscussionUnanswered" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiscussionUnlabeled" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DiscussionUnlocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiscussionUnpinned" 'PrefixI 'False) (U1 :: Type -> Type))))) | |||||
data DiscussionCommentActivityType Source #
Instances
| FromJSON DiscussionCommentActivityType Source # | |||||
| ToJSON DiscussionCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Bounded DiscussionCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum DiscussionCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: DiscussionCommentActivityType -> DiscussionCommentActivityType # pred :: DiscussionCommentActivityType -> DiscussionCommentActivityType # toEnum :: Int -> DiscussionCommentActivityType # fromEnum :: DiscussionCommentActivityType -> Int # enumFrom :: DiscussionCommentActivityType -> [DiscussionCommentActivityType] # enumFromThen :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> [DiscussionCommentActivityType] # enumFromTo :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> [DiscussionCommentActivityType] # enumFromThenTo :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> DiscussionCommentActivityType -> [DiscussionCommentActivityType] # | |||||
| Generic DiscussionCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
| |||||
| Show DiscussionCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> DiscussionCommentActivityType -> ShowS # show :: DiscussionCommentActivityType -> String # showList :: [DiscussionCommentActivityType] -> ShowS # | |||||
| Eq DiscussionCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Ord DiscussionCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> Ordering # (<) :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> Bool # (<=) :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> Bool # (>) :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> Bool # (>=) :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> Bool # max :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> DiscussionCommentActivityType # min :: DiscussionCommentActivityType -> DiscussionCommentActivityType -> DiscussionCommentActivityType # | |||||
| type Rep DiscussionCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep DiscussionCommentActivityType = D1 ('MetaData "DiscussionCommentActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "DiscussionCommentCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "DiscussionCommentDeleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiscussionCommentEdited" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data IssueCommentActivityType Source #
Constructors
| IssueCommentCreated | |
| IssueCommentDeleted | |
| IssueCommentEdited |
Instances
| FromJSON IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser IssueCommentActivityType # parseJSONList :: Value -> Parser [IssueCommentActivityType] # | |||||
| ToJSON IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: IssueCommentActivityType -> Value # toEncoding :: IssueCommentActivityType -> Encoding # toJSONList :: [IssueCommentActivityType] -> Value # | |||||
| Bounded IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: IssueCommentActivityType -> IssueCommentActivityType # pred :: IssueCommentActivityType -> IssueCommentActivityType # toEnum :: Int -> IssueCommentActivityType # fromEnum :: IssueCommentActivityType -> Int # enumFrom :: IssueCommentActivityType -> [IssueCommentActivityType] # enumFromThen :: IssueCommentActivityType -> IssueCommentActivityType -> [IssueCommentActivityType] # enumFromTo :: IssueCommentActivityType -> IssueCommentActivityType -> [IssueCommentActivityType] # enumFromThenTo :: IssueCommentActivityType -> IssueCommentActivityType -> IssueCommentActivityType -> [IssueCommentActivityType] # | |||||
| Generic IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: IssueCommentActivityType -> Rep IssueCommentActivityType x # to :: Rep IssueCommentActivityType x -> IssueCommentActivityType # | |||||
| Show IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> IssueCommentActivityType -> ShowS # show :: IssueCommentActivityType -> String # showList :: [IssueCommentActivityType] -> ShowS # | |||||
| Eq IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: IssueCommentActivityType -> IssueCommentActivityType -> Bool # (/=) :: IssueCommentActivityType -> IssueCommentActivityType -> Bool # | |||||
| Ord IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: IssueCommentActivityType -> IssueCommentActivityType -> Ordering # (<) :: IssueCommentActivityType -> IssueCommentActivityType -> Bool # (<=) :: IssueCommentActivityType -> IssueCommentActivityType -> Bool # (>) :: IssueCommentActivityType -> IssueCommentActivityType -> Bool # (>=) :: IssueCommentActivityType -> IssueCommentActivityType -> Bool # max :: IssueCommentActivityType -> IssueCommentActivityType -> IssueCommentActivityType # min :: IssueCommentActivityType -> IssueCommentActivityType -> IssueCommentActivityType # | |||||
| type Rep IssueCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep IssueCommentActivityType = D1 ('MetaData "IssueCommentActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "IssueCommentCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "IssueCommentDeleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssueCommentEdited" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data IssuesActivityType Source #
Constructors
| IssuesAssigned | |
| IssuesClosed | |
| IssuesDeleted | |
| IssuesDemilestoned | |
| IssuesEdited | |
| IssuesLabeled | |
| IssuesLocked | |
| IssuesMilestoned | |
| IssuesOpened | |
| IssuesPinned | |
| IssuesReopened | |
| IssuesTransferred | |
| IssuesUnassigned | |
| IssuesUnlabeled | |
| IssuesUnlocked | |
| IssuesUnpinned |
Instances
| FromJSON IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser IssuesActivityType # parseJSONList :: Value -> Parser [IssuesActivityType] # | |||||
| ToJSON IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: IssuesActivityType -> Value # toEncoding :: IssuesActivityType -> Encoding # toJSONList :: [IssuesActivityType] -> Value # toEncodingList :: [IssuesActivityType] -> Encoding # omitField :: IssuesActivityType -> Bool # | |||||
| Bounded IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: IssuesActivityType -> IssuesActivityType # pred :: IssuesActivityType -> IssuesActivityType # toEnum :: Int -> IssuesActivityType # fromEnum :: IssuesActivityType -> Int # enumFrom :: IssuesActivityType -> [IssuesActivityType] # enumFromThen :: IssuesActivityType -> IssuesActivityType -> [IssuesActivityType] # enumFromTo :: IssuesActivityType -> IssuesActivityType -> [IssuesActivityType] # enumFromThenTo :: IssuesActivityType -> IssuesActivityType -> IssuesActivityType -> [IssuesActivityType] # | |||||
| Generic IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: IssuesActivityType -> Rep IssuesActivityType x # to :: Rep IssuesActivityType x -> IssuesActivityType # | |||||
| Show IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> IssuesActivityType -> ShowS # show :: IssuesActivityType -> String # showList :: [IssuesActivityType] -> ShowS # | |||||
| Eq IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: IssuesActivityType -> IssuesActivityType -> Bool # (/=) :: IssuesActivityType -> IssuesActivityType -> Bool # | |||||
| Ord IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: IssuesActivityType -> IssuesActivityType -> Ordering # (<) :: IssuesActivityType -> IssuesActivityType -> Bool # (<=) :: IssuesActivityType -> IssuesActivityType -> Bool # (>) :: IssuesActivityType -> IssuesActivityType -> Bool # (>=) :: IssuesActivityType -> IssuesActivityType -> Bool # max :: IssuesActivityType -> IssuesActivityType -> IssuesActivityType # min :: IssuesActivityType -> IssuesActivityType -> IssuesActivityType # | |||||
| type Rep IssuesActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep IssuesActivityType = D1 ('MetaData "IssuesActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) ((((C1 ('MetaCons "IssuesAssigned" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesClosed" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IssuesDeleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesDemilestoned" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "IssuesEdited" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesLabeled" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IssuesLocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesMilestoned" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "IssuesOpened" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesPinned" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IssuesReopened" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesTransferred" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "IssuesUnassigned" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesUnlabeled" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "IssuesUnlocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssuesUnpinned" 'PrefixI 'False) (U1 :: Type -> Type))))) | |||||
data LabelActivityType Source #
Constructors
| LabelCreated | |
| LabelDeleted | |
| LabelEdited |
Instances
| FromJSON LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser LabelActivityType # parseJSONList :: Value -> Parser [LabelActivityType] # | |||||
| ToJSON LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: LabelActivityType -> Value # toEncoding :: LabelActivityType -> Encoding # toJSONList :: [LabelActivityType] -> Value # toEncodingList :: [LabelActivityType] -> Encoding # omitField :: LabelActivityType -> Bool # | |||||
| Bounded LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: LabelActivityType -> LabelActivityType # pred :: LabelActivityType -> LabelActivityType # toEnum :: Int -> LabelActivityType # fromEnum :: LabelActivityType -> Int # enumFrom :: LabelActivityType -> [LabelActivityType] # enumFromThen :: LabelActivityType -> LabelActivityType -> [LabelActivityType] # enumFromTo :: LabelActivityType -> LabelActivityType -> [LabelActivityType] # enumFromThenTo :: LabelActivityType -> LabelActivityType -> LabelActivityType -> [LabelActivityType] # | |||||
| Generic LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: LabelActivityType -> Rep LabelActivityType x # to :: Rep LabelActivityType x -> LabelActivityType # | |||||
| Show LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> LabelActivityType -> ShowS # show :: LabelActivityType -> String # showList :: [LabelActivityType] -> ShowS # | |||||
| Eq LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: LabelActivityType -> LabelActivityType -> Bool # (/=) :: LabelActivityType -> LabelActivityType -> Bool # | |||||
| Ord LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: LabelActivityType -> LabelActivityType -> Ordering # (<) :: LabelActivityType -> LabelActivityType -> Bool # (<=) :: LabelActivityType -> LabelActivityType -> Bool # (>) :: LabelActivityType -> LabelActivityType -> Bool # (>=) :: LabelActivityType -> LabelActivityType -> Bool # max :: LabelActivityType -> LabelActivityType -> LabelActivityType # min :: LabelActivityType -> LabelActivityType -> LabelActivityType # | |||||
| type Rep LabelActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep LabelActivityType = D1 ('MetaData "LabelActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "LabelCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LabelDeleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LabelEdited" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data MilestoneActivityType Source #
Instances
| FromJSON MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser MilestoneActivityType # parseJSONList :: Value -> Parser [MilestoneActivityType] # | |||||
| ToJSON MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: MilestoneActivityType -> Value # toEncoding :: MilestoneActivityType -> Encoding # toJSONList :: [MilestoneActivityType] -> Value # toEncodingList :: [MilestoneActivityType] -> Encoding # omitField :: MilestoneActivityType -> Bool # | |||||
| Bounded MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: MilestoneActivityType -> MilestoneActivityType # pred :: MilestoneActivityType -> MilestoneActivityType # toEnum :: Int -> MilestoneActivityType # fromEnum :: MilestoneActivityType -> Int # enumFrom :: MilestoneActivityType -> [MilestoneActivityType] # enumFromThen :: MilestoneActivityType -> MilestoneActivityType -> [MilestoneActivityType] # enumFromTo :: MilestoneActivityType -> MilestoneActivityType -> [MilestoneActivityType] # enumFromThenTo :: MilestoneActivityType -> MilestoneActivityType -> MilestoneActivityType -> [MilestoneActivityType] # | |||||
| Generic MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: MilestoneActivityType -> Rep MilestoneActivityType x # to :: Rep MilestoneActivityType x -> MilestoneActivityType # | |||||
| Show MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> MilestoneActivityType -> ShowS # show :: MilestoneActivityType -> String # showList :: [MilestoneActivityType] -> ShowS # | |||||
| Eq MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: MilestoneActivityType -> MilestoneActivityType -> Bool # (/=) :: MilestoneActivityType -> MilestoneActivityType -> Bool # | |||||
| Ord MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: MilestoneActivityType -> MilestoneActivityType -> Ordering # (<) :: MilestoneActivityType -> MilestoneActivityType -> Bool # (<=) :: MilestoneActivityType -> MilestoneActivityType -> Bool # (>) :: MilestoneActivityType -> MilestoneActivityType -> Bool # (>=) :: MilestoneActivityType -> MilestoneActivityType -> Bool # max :: MilestoneActivityType -> MilestoneActivityType -> MilestoneActivityType # min :: MilestoneActivityType -> MilestoneActivityType -> MilestoneActivityType # | |||||
| type Rep MilestoneActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep MilestoneActivityType = D1 ('MetaData "MilestoneActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) ((C1 ('MetaCons "MilestoneCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MilestoneClosed" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "MilestoneDeleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "MilestoneEdited" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MilestoneOpened" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
data PullRequestActivityType Source #
Activity types for pull request trigger events.
These specify which pull request activities should trigger the workflow. Common combinations include opened/synchronized for CI workflows, or closed for deployment workflows.
Example usage:
-- Trigger on pull request creation and updates
ciTrigger :: PullRequestActivityType
ciTrigger = PullRequestTrigger $ PullRequestTriggerAttributes
{ activityTypes = Just (PullRequestOpened :| [PullRequestSynchronize])
, branches = Nothing
, branchesIgnore = Nothing
, paths = Nothing
, pathsIgnore = Nothing
}
For more details, see: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
Constructors
| PullRequestAssigned | Pull request was assigned to someone |
| PullRequestAutoMergeDisabled | Auto-merge was disabled |
| PullRequestAutoMergeEnabled | Auto-merge was enabled |
| PullRequestClosed | Pull request was closed |
| PullRequestConvertedToDraft | Pull request was converted to draft |
| PullRequestDemilestoned | Milestone was removed from pull request |
| PullRequestDequeued | Pull request was removed from merge queue |
| PullRequestEdited | Pull request title or body was edited |
| PullRequestEnqueued | Pull request was added to merge queue |
| PullRequestLabeled | Label was added to pull request |
| PullRequestLocked | Pull request conversation was locked |
| PullRequestMilestoned | Milestone was added to pull request |
| PullRequestOpened | Pull request was opened |
| PullRequestReadyForReview | Draft pull request was marked ready for review |
| PullRequestReopened | Pull request was reopened |
| PullRequestReviewRequestRemoved | Review request was removed |
| PullRequestReviewRequested | Review was requested |
| PullRequestSynchronize | Pull request's head branch was updated |
| PullRequestUnassigned | Pull request was unassigned |
| PullRequestUnlabeled | Label was removed from pull request |
| PullRequestUnlocked | Pull request conversation was unlocked |
Instances
| FromJSON PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser PullRequestActivityType # parseJSONList :: Value -> Parser [PullRequestActivityType] # | |||||
| ToJSON PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: PullRequestActivityType -> Value # toEncoding :: PullRequestActivityType -> Encoding # toJSONList :: [PullRequestActivityType] -> Value # | |||||
| Bounded PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: PullRequestActivityType -> PullRequestActivityType # pred :: PullRequestActivityType -> PullRequestActivityType # toEnum :: Int -> PullRequestActivityType # fromEnum :: PullRequestActivityType -> Int # enumFrom :: PullRequestActivityType -> [PullRequestActivityType] # enumFromThen :: PullRequestActivityType -> PullRequestActivityType -> [PullRequestActivityType] # enumFromTo :: PullRequestActivityType -> PullRequestActivityType -> [PullRequestActivityType] # enumFromThenTo :: PullRequestActivityType -> PullRequestActivityType -> PullRequestActivityType -> [PullRequestActivityType] # | |||||
| Generic PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: PullRequestActivityType -> Rep PullRequestActivityType x # to :: Rep PullRequestActivityType x -> PullRequestActivityType # | |||||
| Show PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> PullRequestActivityType -> ShowS # show :: PullRequestActivityType -> String # showList :: [PullRequestActivityType] -> ShowS # | |||||
| Eq PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: PullRequestActivityType -> PullRequestActivityType -> Bool # (/=) :: PullRequestActivityType -> PullRequestActivityType -> Bool # | |||||
| Ord PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: PullRequestActivityType -> PullRequestActivityType -> Ordering # (<) :: PullRequestActivityType -> PullRequestActivityType -> Bool # (<=) :: PullRequestActivityType -> PullRequestActivityType -> Bool # (>) :: PullRequestActivityType -> PullRequestActivityType -> Bool # (>=) :: PullRequestActivityType -> PullRequestActivityType -> Bool # max :: PullRequestActivityType -> PullRequestActivityType -> PullRequestActivityType # min :: PullRequestActivityType -> PullRequestActivityType -> PullRequestActivityType # | |||||
| type Rep PullRequestActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep PullRequestActivityType = D1 ('MetaData "PullRequestActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) ((((C1 ('MetaCons "PullRequestAssigned" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestAutoMergeDisabled" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestAutoMergeEnabled" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestClosed" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestConvertedToDraft" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "PullRequestDemilestoned" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestDequeued" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestEdited" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestEnqueued" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestLabeled" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "PullRequestLocked" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestMilestoned" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestOpened" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestReadyForReview" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestReopened" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "PullRequestReviewRequestRemoved" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestReviewRequested" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestSynchronize" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "PullRequestUnassigned" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestUnlabeled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestUnlocked" 'PrefixI 'False) (U1 :: Type -> Type)))))) | |||||
data PullRequestReviewActivityType Source #
Instances
| FromJSON PullRequestReviewActivityType Source # | |||||
| ToJSON PullRequestReviewActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Bounded PullRequestReviewActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum PullRequestReviewActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: PullRequestReviewActivityType -> PullRequestReviewActivityType # pred :: PullRequestReviewActivityType -> PullRequestReviewActivityType # toEnum :: Int -> PullRequestReviewActivityType # fromEnum :: PullRequestReviewActivityType -> Int # enumFrom :: PullRequestReviewActivityType -> [PullRequestReviewActivityType] # enumFromThen :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> [PullRequestReviewActivityType] # enumFromTo :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> [PullRequestReviewActivityType] # enumFromThenTo :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> PullRequestReviewActivityType -> [PullRequestReviewActivityType] # | |||||
| Generic PullRequestReviewActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
| |||||
| Show PullRequestReviewActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> PullRequestReviewActivityType -> ShowS # show :: PullRequestReviewActivityType -> String # showList :: [PullRequestReviewActivityType] -> ShowS # | |||||
| Eq PullRequestReviewActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Ord PullRequestReviewActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> Ordering # (<) :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> Bool # (<=) :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> Bool # (>) :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> Bool # (>=) :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> Bool # max :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> PullRequestReviewActivityType # min :: PullRequestReviewActivityType -> PullRequestReviewActivityType -> PullRequestReviewActivityType # | |||||
| type Rep PullRequestReviewActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep PullRequestReviewActivityType = D1 ('MetaData "PullRequestReviewActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "PullRequestReviewDismissed" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestReviewEdited" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestReviewSubmitted" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data PullRequestReviewCommentActivityType Source #
Constructors
| PullRequestReviewCommentCreated | |
| PullRequestReviewCommentDeleted | |
| PullRequestReviewCommentEdited |
Instances
| FromJSON PullRequestReviewCommentActivityType Source # | |||||
| ToJSON PullRequestReviewCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Bounded PullRequestReviewCommentActivityType Source # | |||||
| Enum PullRequestReviewCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType # pred :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType # toEnum :: Int -> PullRequestReviewCommentActivityType # fromEnum :: PullRequestReviewCommentActivityType -> Int # enumFrom :: PullRequestReviewCommentActivityType -> [PullRequestReviewCommentActivityType] # enumFromThen :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> [PullRequestReviewCommentActivityType] # enumFromTo :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> [PullRequestReviewCommentActivityType] # enumFromThenTo :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> [PullRequestReviewCommentActivityType] # | |||||
| Generic PullRequestReviewCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
| |||||
| Show PullRequestReviewCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> PullRequestReviewCommentActivityType -> ShowS # show :: PullRequestReviewCommentActivityType -> String # showList :: [PullRequestReviewCommentActivityType] -> ShowS # | |||||
| Eq PullRequestReviewCommentActivityType Source # | |||||
| Ord PullRequestReviewCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> Ordering # (<) :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> Bool # (<=) :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> Bool # (>) :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> Bool # (>=) :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> Bool # max :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType # min :: PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType -> PullRequestReviewCommentActivityType # | |||||
| type Rep PullRequestReviewCommentActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep PullRequestReviewCommentActivityType = D1 ('MetaData "PullRequestReviewCommentActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "PullRequestReviewCommentCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestReviewCommentDeleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestReviewCommentEdited" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data PullRequestTargetActivityType Source #
Constructors
| PullRequestTargetAssigned | |
| PullRequestTargetAutoMergeDisabled | |
| PullRequestTargetAutoMergeEnabled | |
| PullRequestTargetClosed | |
| PullRequestTargetConvertedToDraft | |
| PullRequestTargetEdited | |
| PullRequestTargetLabeled | |
| PullRequestTargetLocked | |
| PullRequestTargetOpened | |
| PullRequestTargetReadyForReview | |
| PullRequestTargetReopened | |
| PullRequestTargetReviewRequestRemoved | |
| PullRequestTargetReviewRequested | |
| PullRequestTargetSynchronize | |
| PullRequestTargetUnassigned | |
| PullRequestTargetUnlabeled | |
| PullRequestTargetUnlocked |
Instances
| FromJSON PullRequestTargetActivityType Source # | |||||
| ToJSON PullRequestTargetActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Bounded PullRequestTargetActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum PullRequestTargetActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: PullRequestTargetActivityType -> PullRequestTargetActivityType # pred :: PullRequestTargetActivityType -> PullRequestTargetActivityType # toEnum :: Int -> PullRequestTargetActivityType # fromEnum :: PullRequestTargetActivityType -> Int # enumFrom :: PullRequestTargetActivityType -> [PullRequestTargetActivityType] # enumFromThen :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> [PullRequestTargetActivityType] # enumFromTo :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> [PullRequestTargetActivityType] # enumFromThenTo :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> PullRequestTargetActivityType -> [PullRequestTargetActivityType] # | |||||
| Generic PullRequestTargetActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
| |||||
| Show PullRequestTargetActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> PullRequestTargetActivityType -> ShowS # show :: PullRequestTargetActivityType -> String # showList :: [PullRequestTargetActivityType] -> ShowS # | |||||
| Eq PullRequestTargetActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Ord PullRequestTargetActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> Ordering # (<) :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> Bool # (<=) :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> Bool # (>) :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> Bool # (>=) :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> Bool # max :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> PullRequestTargetActivityType # min :: PullRequestTargetActivityType -> PullRequestTargetActivityType -> PullRequestTargetActivityType # | |||||
| type Rep PullRequestTargetActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep PullRequestTargetActivityType = D1 ('MetaData "PullRequestTargetActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) ((((C1 ('MetaCons "PullRequestTargetAssigned" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestTargetAutoMergeDisabled" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestTargetAutoMergeEnabled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestTargetClosed" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "PullRequestTargetConvertedToDraft" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestTargetEdited" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestTargetLabeled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestTargetLocked" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: (((C1 ('MetaCons "PullRequestTargetOpened" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestTargetReadyForReview" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestTargetReopened" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestTargetReviewRequestRemoved" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "PullRequestTargetReviewRequested" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestTargetSynchronize" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestTargetUnassigned" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PullRequestTargetUnlabeled" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PullRequestTargetUnlocked" 'PrefixI 'False) (U1 :: Type -> Type)))))) | |||||
data PullRequestTargetTriggerAttributes Source #
Constructors
| PullRequestTargetTriggerAttributes | |
Fields
| |
Instances
| FromJSON PullRequestTargetTriggerAttributes Source # | |||||
| ToJSON PullRequestTargetTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Generic PullRequestTargetTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
| |||||
| Show PullRequestTargetTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> PullRequestTargetTriggerAttributes -> ShowS # | |||||
| Eq PullRequestTargetTriggerAttributes Source # | |||||
| Ord PullRequestTargetTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes -> Ordering # (<) :: PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes -> Bool # (<=) :: PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes -> Bool # (>) :: PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes -> Bool # (>=) :: PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes -> Bool # max :: PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes # min :: PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes -> PullRequestTargetTriggerAttributes # | |||||
| type Rep PullRequestTargetTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep PullRequestTargetTriggerAttributes = D1 ('MetaData "PullRequestTargetTriggerAttributes" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "PullRequestTargetTriggerAttributes" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty PullRequestTargetActivityType))) :*: S1 ('MetaSel ('Just "branches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "branchesIgnore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "paths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "pathsIgnore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))))))) | |||||
data PullRequestTriggerAttributes Source #
Constructors
| PullRequestTriggerAttributes | |
Fields
| |
Instances
| FromJSON PullRequestTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| ToJSON PullRequestTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: PullRequestTriggerAttributes -> Value # toEncoding :: PullRequestTriggerAttributes -> Encoding # toJSONList :: [PullRequestTriggerAttributes] -> Value # toEncodingList :: [PullRequestTriggerAttributes] -> Encoding # | |||||
| Generic PullRequestTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
| |||||
| Show PullRequestTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> PullRequestTriggerAttributes -> ShowS # show :: PullRequestTriggerAttributes -> String # showList :: [PullRequestTriggerAttributes] -> ShowS # | |||||
| Eq PullRequestTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> Bool # (/=) :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> Bool # | |||||
| Ord PullRequestTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> Ordering # (<) :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> Bool # (<=) :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> Bool # (>) :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> Bool # (>=) :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> Bool # max :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> PullRequestTriggerAttributes # min :: PullRequestTriggerAttributes -> PullRequestTriggerAttributes -> PullRequestTriggerAttributes # | |||||
| type Rep PullRequestTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep PullRequestTriggerAttributes = D1 ('MetaData "PullRequestTriggerAttributes" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "PullRequestTriggerAttributes" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty PullRequestActivityType))) :*: S1 ('MetaSel ('Just "branches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "branchesIgnore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "paths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "pathsIgnore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))))))) | |||||
data PushTriggerAttributes Source #
Configuration attributes for push trigger events.
Push triggers can be filtered by branches, paths, and tags to control exactly when the workflow should run. This allows for fine-grained control over which repository changes should initiate workflow execution.
Example usage:
-- Trigger on pushes to main or develop branches
pushMainDevelop :: PushTriggerAttributes
pushMainDevelop = PushTriggerAttributes
{ branches = Just ("main" :| ["develop"])
, branchesIgnore = Nothing
, paths = Nothing
, pathsIgnore = Nothing
, tags = Nothing
}
-- Trigger on pushes to docs directory, ignoring gh-pages
pushDocsOnly :: PushTriggerAttributes
pushDocsOnly = PushTriggerAttributes
{ branches = Nothing
, branchesIgnore = Just ("gh-pages" :| [])
, paths = Just ("docs/**" :| [])
, pathsIgnore = Nothing
, tags = Nothing
}
For more details, see: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#push
Constructors
| PushTriggerAttributes | |
Instances
| FromJSON PushTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser PushTriggerAttributes # parseJSONList :: Value -> Parser [PushTriggerAttributes] # | |||||
| ToJSON PushTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: PushTriggerAttributes -> Value # toEncoding :: PushTriggerAttributes -> Encoding # toJSONList :: [PushTriggerAttributes] -> Value # toEncodingList :: [PushTriggerAttributes] -> Encoding # omitField :: PushTriggerAttributes -> Bool # | |||||
| Generic PushTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: PushTriggerAttributes -> Rep PushTriggerAttributes x # to :: Rep PushTriggerAttributes x -> PushTriggerAttributes # | |||||
| Show PushTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> PushTriggerAttributes -> ShowS # show :: PushTriggerAttributes -> String # showList :: [PushTriggerAttributes] -> ShowS # | |||||
| Eq PushTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: PushTriggerAttributes -> PushTriggerAttributes -> Bool # (/=) :: PushTriggerAttributes -> PushTriggerAttributes -> Bool # | |||||
| Ord PushTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: PushTriggerAttributes -> PushTriggerAttributes -> Ordering # (<) :: PushTriggerAttributes -> PushTriggerAttributes -> Bool # (<=) :: PushTriggerAttributes -> PushTriggerAttributes -> Bool # (>) :: PushTriggerAttributes -> PushTriggerAttributes -> Bool # (>=) :: PushTriggerAttributes -> PushTriggerAttributes -> Bool # max :: PushTriggerAttributes -> PushTriggerAttributes -> PushTriggerAttributes # min :: PushTriggerAttributes -> PushTriggerAttributes -> PushTriggerAttributes # | |||||
| type Rep PushTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep PushTriggerAttributes = D1 ('MetaData "PushTriggerAttributes" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "PushTriggerAttributes" 'PrefixI 'True) ((S1 ('MetaSel ('Just "branches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "branchesIgnore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "paths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))) :*: (S1 ('MetaSel ('Just "pathsIgnore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))))))) | |||||
data RegistryPackageActivityType Source #
Constructors
| RegistryPackagePublished | |
| RegistryPackageUpdated |
Instances
| FromJSON RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| ToJSON RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: RegistryPackageActivityType -> Value # toEncoding :: RegistryPackageActivityType -> Encoding # toJSONList :: [RegistryPackageActivityType] -> Value # toEncodingList :: [RegistryPackageActivityType] -> Encoding # | |||||
| Bounded RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: RegistryPackageActivityType -> RegistryPackageActivityType # pred :: RegistryPackageActivityType -> RegistryPackageActivityType # toEnum :: Int -> RegistryPackageActivityType # fromEnum :: RegistryPackageActivityType -> Int # enumFrom :: RegistryPackageActivityType -> [RegistryPackageActivityType] # enumFromThen :: RegistryPackageActivityType -> RegistryPackageActivityType -> [RegistryPackageActivityType] # enumFromTo :: RegistryPackageActivityType -> RegistryPackageActivityType -> [RegistryPackageActivityType] # enumFromThenTo :: RegistryPackageActivityType -> RegistryPackageActivityType -> RegistryPackageActivityType -> [RegistryPackageActivityType] # | |||||
| Generic RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: RegistryPackageActivityType -> Rep RegistryPackageActivityType x # to :: Rep RegistryPackageActivityType x -> RegistryPackageActivityType # | |||||
| Show RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> RegistryPackageActivityType -> ShowS # show :: RegistryPackageActivityType -> String # showList :: [RegistryPackageActivityType] -> ShowS # | |||||
| Eq RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: RegistryPackageActivityType -> RegistryPackageActivityType -> Bool # (/=) :: RegistryPackageActivityType -> RegistryPackageActivityType -> Bool # | |||||
| Ord RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: RegistryPackageActivityType -> RegistryPackageActivityType -> Ordering # (<) :: RegistryPackageActivityType -> RegistryPackageActivityType -> Bool # (<=) :: RegistryPackageActivityType -> RegistryPackageActivityType -> Bool # (>) :: RegistryPackageActivityType -> RegistryPackageActivityType -> Bool # (>=) :: RegistryPackageActivityType -> RegistryPackageActivityType -> Bool # max :: RegistryPackageActivityType -> RegistryPackageActivityType -> RegistryPackageActivityType # min :: RegistryPackageActivityType -> RegistryPackageActivityType -> RegistryPackageActivityType # | |||||
| type Rep RegistryPackageActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep RegistryPackageActivityType = D1 ('MetaData "RegistryPackageActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "RegistryPackagePublished" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "RegistryPackageUpdated" 'PrefixI 'False) (U1 :: Type -> Type)) | |||||
data ReleaseActivityType Source #
Constructors
| ReleaseCreated | |
| ReleaseDeleted | |
| ReleaseEdited | |
| ReleasePrereleased | |
| ReleasePublished | |
| ReleaseReleased | |
| ReleaseUnpublished |
Instances
| FromJSON ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser ReleaseActivityType # parseJSONList :: Value -> Parser [ReleaseActivityType] # | |||||
| ToJSON ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: ReleaseActivityType -> Value # toEncoding :: ReleaseActivityType -> Encoding # toJSONList :: [ReleaseActivityType] -> Value # toEncodingList :: [ReleaseActivityType] -> Encoding # omitField :: ReleaseActivityType -> Bool # | |||||
| Bounded ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: ReleaseActivityType -> ReleaseActivityType # pred :: ReleaseActivityType -> ReleaseActivityType # toEnum :: Int -> ReleaseActivityType # fromEnum :: ReleaseActivityType -> Int # enumFrom :: ReleaseActivityType -> [ReleaseActivityType] # enumFromThen :: ReleaseActivityType -> ReleaseActivityType -> [ReleaseActivityType] # enumFromTo :: ReleaseActivityType -> ReleaseActivityType -> [ReleaseActivityType] # enumFromThenTo :: ReleaseActivityType -> ReleaseActivityType -> ReleaseActivityType -> [ReleaseActivityType] # | |||||
| Generic ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: ReleaseActivityType -> Rep ReleaseActivityType x # to :: Rep ReleaseActivityType x -> ReleaseActivityType # | |||||
| Show ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> ReleaseActivityType -> ShowS # show :: ReleaseActivityType -> String # showList :: [ReleaseActivityType] -> ShowS # | |||||
| Eq ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: ReleaseActivityType -> ReleaseActivityType -> Bool # (/=) :: ReleaseActivityType -> ReleaseActivityType -> Bool # | |||||
| Ord ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: ReleaseActivityType -> ReleaseActivityType -> Ordering # (<) :: ReleaseActivityType -> ReleaseActivityType -> Bool # (<=) :: ReleaseActivityType -> ReleaseActivityType -> Bool # (>) :: ReleaseActivityType -> ReleaseActivityType -> Bool # (>=) :: ReleaseActivityType -> ReleaseActivityType -> Bool # max :: ReleaseActivityType -> ReleaseActivityType -> ReleaseActivityType # min :: ReleaseActivityType -> ReleaseActivityType -> ReleaseActivityType # | |||||
| type Rep ReleaseActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep ReleaseActivityType = D1 ('MetaData "ReleaseActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) ((C1 ('MetaCons "ReleaseCreated" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ReleaseDeleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReleaseEdited" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "ReleasePrereleased" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReleasePublished" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "ReleaseReleased" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "ReleaseUnpublished" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
data WorkflowCallAttributes Source #
Constructors
| WorkflowCallAttributes | |
Instances
| FromJSON WorkflowCallAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser WorkflowCallAttributes # parseJSONList :: Value -> Parser [WorkflowCallAttributes] # | |||||
| ToJSON WorkflowCallAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: WorkflowCallAttributes -> Value # toEncoding :: WorkflowCallAttributes -> Encoding # toJSONList :: [WorkflowCallAttributes] -> Value # toEncodingList :: [WorkflowCallAttributes] -> Encoding # omitField :: WorkflowCallAttributes -> Bool # | |||||
| Generic WorkflowCallAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: WorkflowCallAttributes -> Rep WorkflowCallAttributes x # to :: Rep WorkflowCallAttributes x -> WorkflowCallAttributes # | |||||
| Show WorkflowCallAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> WorkflowCallAttributes -> ShowS # show :: WorkflowCallAttributes -> String # showList :: [WorkflowCallAttributes] -> ShowS # | |||||
| Eq WorkflowCallAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: WorkflowCallAttributes -> WorkflowCallAttributes -> Bool # (/=) :: WorkflowCallAttributes -> WorkflowCallAttributes -> Bool # | |||||
| Ord WorkflowCallAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: WorkflowCallAttributes -> WorkflowCallAttributes -> Ordering # (<) :: WorkflowCallAttributes -> WorkflowCallAttributes -> Bool # (<=) :: WorkflowCallAttributes -> WorkflowCallAttributes -> Bool # (>) :: WorkflowCallAttributes -> WorkflowCallAttributes -> Bool # (>=) :: WorkflowCallAttributes -> WorkflowCallAttributes -> Bool # max :: WorkflowCallAttributes -> WorkflowCallAttributes -> WorkflowCallAttributes # min :: WorkflowCallAttributes -> WorkflowCallAttributes -> WorkflowCallAttributes # | |||||
| type Rep WorkflowCallAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
newtype WorkflowDispatchAttributes Source #
Constructors
| WorkflowDispatchAttributes | |
Fields | |
Instances
| FromJSON WorkflowDispatchAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| ToJSON WorkflowDispatchAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: WorkflowDispatchAttributes -> Value # toEncoding :: WorkflowDispatchAttributes -> Encoding # toJSONList :: [WorkflowDispatchAttributes] -> Value # toEncodingList :: [WorkflowDispatchAttributes] -> Encoding # | |||||
| Generic WorkflowDispatchAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: WorkflowDispatchAttributes -> Rep WorkflowDispatchAttributes x # to :: Rep WorkflowDispatchAttributes x -> WorkflowDispatchAttributes # | |||||
| Show WorkflowDispatchAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> WorkflowDispatchAttributes -> ShowS # show :: WorkflowDispatchAttributes -> String # showList :: [WorkflowDispatchAttributes] -> ShowS # | |||||
| Eq WorkflowDispatchAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> Bool # (/=) :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> Bool # | |||||
| Ord WorkflowDispatchAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> Ordering # (<) :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> Bool # (<=) :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> Bool # (>) :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> Bool # (>=) :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> Bool # max :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> WorkflowDispatchAttributes # min :: WorkflowDispatchAttributes -> WorkflowDispatchAttributes -> WorkflowDispatchAttributes # | |||||
| type Rep WorkflowDispatchAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep WorkflowDispatchAttributes = D1 ('MetaData "WorkflowDispatchAttributes" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'True) (C1 ('MetaCons "WorkflowDispatchAttributes" 'PrefixI 'True) (S1 ('MetaSel ('Just "inputs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Map Text WorkflowDispatchInput))))) | |||||
data WorkflowDispatchInput Source #
Constructors
| WorkflowDispatchInput | |
Instances
| FromJSON WorkflowDispatchInput Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser WorkflowDispatchInput # parseJSONList :: Value -> Parser [WorkflowDispatchInput] # | |||||
| ToJSON WorkflowDispatchInput Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: WorkflowDispatchInput -> Value # toEncoding :: WorkflowDispatchInput -> Encoding # toJSONList :: [WorkflowDispatchInput] -> Value # toEncodingList :: [WorkflowDispatchInput] -> Encoding # omitField :: WorkflowDispatchInput -> Bool # | |||||
| Generic WorkflowDispatchInput Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: WorkflowDispatchInput -> Rep WorkflowDispatchInput x # to :: Rep WorkflowDispatchInput x -> WorkflowDispatchInput # | |||||
| Show WorkflowDispatchInput Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> WorkflowDispatchInput -> ShowS # show :: WorkflowDispatchInput -> String # showList :: [WorkflowDispatchInput] -> ShowS # | |||||
| Eq WorkflowDispatchInput Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: WorkflowDispatchInput -> WorkflowDispatchInput -> Bool # (/=) :: WorkflowDispatchInput -> WorkflowDispatchInput -> Bool # | |||||
| Ord WorkflowDispatchInput Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: WorkflowDispatchInput -> WorkflowDispatchInput -> Ordering # (<) :: WorkflowDispatchInput -> WorkflowDispatchInput -> Bool # (<=) :: WorkflowDispatchInput -> WorkflowDispatchInput -> Bool # (>) :: WorkflowDispatchInput -> WorkflowDispatchInput -> Bool # (>=) :: WorkflowDispatchInput -> WorkflowDispatchInput -> Bool # max :: WorkflowDispatchInput -> WorkflowDispatchInput -> WorkflowDispatchInput # min :: WorkflowDispatchInput -> WorkflowDispatchInput -> WorkflowDispatchInput # | |||||
| type Rep WorkflowDispatchInput Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep WorkflowDispatchInput = D1 ('MetaData "WorkflowDispatchInput" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "WorkflowDispatchInput" 'PrefixI 'True) ((S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "default_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Value))) :*: (S1 ('MetaSel ('Just "required") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "type_") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe WorkflowDispatchInputType))))) | |||||
data WorkflowDispatchInputType Source #
Constructors
| WorkflowDispatchInputTypeBoolean | |
| WorkflowDispatchInputTypeChoice (NonEmpty Text) | |
| WorkflowDispatchInputTypeEnvironment | |
| WorkflowDispatchInputTypeNumber | |
| WorkflowDispatchInputTypeString |
Instances
| FromJSON WorkflowDispatchInputType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser WorkflowDispatchInputType # parseJSONList :: Value -> Parser [WorkflowDispatchInputType] # | |||||
| Generic WorkflowDispatchInputType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: WorkflowDispatchInputType -> Rep WorkflowDispatchInputType x # to :: Rep WorkflowDispatchInputType x -> WorkflowDispatchInputType # | |||||
| Show WorkflowDispatchInputType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> WorkflowDispatchInputType -> ShowS # show :: WorkflowDispatchInputType -> String # showList :: [WorkflowDispatchInputType] -> ShowS # | |||||
| Eq WorkflowDispatchInputType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> Bool # (/=) :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> Bool # | |||||
| Ord WorkflowDispatchInputType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> Ordering # (<) :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> Bool # (<=) :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> Bool # (>) :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> Bool # (>=) :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> Bool # max :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> WorkflowDispatchInputType # min :: WorkflowDispatchInputType -> WorkflowDispatchInputType -> WorkflowDispatchInputType # | |||||
| type Rep WorkflowDispatchInputType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep WorkflowDispatchInputType = D1 ('MetaData "WorkflowDispatchInputType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) ((C1 ('MetaCons "WorkflowDispatchInputTypeBoolean" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WorkflowDispatchInputTypeChoice" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Text)))) :+: (C1 ('MetaCons "WorkflowDispatchInputTypeEnvironment" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WorkflowDispatchInputTypeNumber" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WorkflowDispatchInputTypeString" 'PrefixI 'False) (U1 :: Type -> Type)))) | |||||
data WorkflowRunActivityType Source #
Instances
| FromJSON WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser WorkflowRunActivityType # parseJSONList :: Value -> Parser [WorkflowRunActivityType] # | |||||
| ToJSON WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: WorkflowRunActivityType -> Value # toEncoding :: WorkflowRunActivityType -> Encoding # toJSONList :: [WorkflowRunActivityType] -> Value # | |||||
| Bounded WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Enum WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods succ :: WorkflowRunActivityType -> WorkflowRunActivityType # pred :: WorkflowRunActivityType -> WorkflowRunActivityType # toEnum :: Int -> WorkflowRunActivityType # fromEnum :: WorkflowRunActivityType -> Int # enumFrom :: WorkflowRunActivityType -> [WorkflowRunActivityType] # enumFromThen :: WorkflowRunActivityType -> WorkflowRunActivityType -> [WorkflowRunActivityType] # enumFromTo :: WorkflowRunActivityType -> WorkflowRunActivityType -> [WorkflowRunActivityType] # enumFromThenTo :: WorkflowRunActivityType -> WorkflowRunActivityType -> WorkflowRunActivityType -> [WorkflowRunActivityType] # | |||||
| Generic WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: WorkflowRunActivityType -> Rep WorkflowRunActivityType x # to :: Rep WorkflowRunActivityType x -> WorkflowRunActivityType # | |||||
| Show WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> WorkflowRunActivityType -> ShowS # show :: WorkflowRunActivityType -> String # showList :: [WorkflowRunActivityType] -> ShowS # | |||||
| Eq WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: WorkflowRunActivityType -> WorkflowRunActivityType -> Bool # (/=) :: WorkflowRunActivityType -> WorkflowRunActivityType -> Bool # | |||||
| Ord WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: WorkflowRunActivityType -> WorkflowRunActivityType -> Ordering # (<) :: WorkflowRunActivityType -> WorkflowRunActivityType -> Bool # (<=) :: WorkflowRunActivityType -> WorkflowRunActivityType -> Bool # (>) :: WorkflowRunActivityType -> WorkflowRunActivityType -> Bool # (>=) :: WorkflowRunActivityType -> WorkflowRunActivityType -> Bool # max :: WorkflowRunActivityType -> WorkflowRunActivityType -> WorkflowRunActivityType # min :: WorkflowRunActivityType -> WorkflowRunActivityType -> WorkflowRunActivityType # | |||||
| type Rep WorkflowRunActivityType Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep WorkflowRunActivityType = D1 ('MetaData "WorkflowRunActivityType" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "WorkflowRunCompleted" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WorkflowRunInProgress" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WorkflowRunRequested" 'PrefixI 'False) (U1 :: Type -> Type))) | |||||
data WorkflowRunTriggerAttributes Source #
Constructors
| WorkflowRunTriggerAttributes | |
Fields
| |
Instances
| FromJSON WorkflowRunTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| ToJSON WorkflowRunTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: WorkflowRunTriggerAttributes -> Value # toEncoding :: WorkflowRunTriggerAttributes -> Encoding # toJSONList :: [WorkflowRunTriggerAttributes] -> Value # toEncodingList :: [WorkflowRunTriggerAttributes] -> Encoding # | |||||
| Generic WorkflowRunTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
| |||||
| Show WorkflowRunTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> WorkflowRunTriggerAttributes -> ShowS # show :: WorkflowRunTriggerAttributes -> String # showList :: [WorkflowRunTriggerAttributes] -> ShowS # | |||||
| Eq WorkflowRunTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> Bool # (/=) :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> Bool # | |||||
| Ord WorkflowRunTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> Ordering # (<) :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> Bool # (<=) :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> Bool # (>) :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> Bool # (>=) :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> Bool # max :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes # min :: WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes -> WorkflowRunTriggerAttributes # | |||||
| type Rep WorkflowRunTriggerAttributes Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep WorkflowRunTriggerAttributes = D1 ('MetaData "WorkflowRunTriggerAttributes" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (C1 ('MetaCons "WorkflowRunTriggerAttributes" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty WorkflowRunActivityType)) :*: S1 ('MetaSel ('Just "workflows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text)))) :*: (S1 ('MetaSel ('Just "branches") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "branchesIgnore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty Text)))))) | |||||
data WorkflowTrigger Source #
Comprehensive enumeration of all GitHub Actions workflow trigger events.
Each trigger corresponds to a specific GitHub event that can initiate a workflow run. Many triggers can be configured with activity types to specify exactly which sub-events should cause the workflow to run.
Common trigger examples:
PushTrigger- Runs on pushes to repository branches or tagsPullRequestTrigger- Runs on pull request events (open, sync, close, etc.)ScheduleTrigger- Runs on a schedule using cron syntaxWorkflowDispatchTrigger- Allows manual workflow executionIssuesTrigger- Runs on issue events (open, close, label, etc.)
For triggers with complex configuration, attribute types provide filtering options:
-- Push trigger with branch filtering
pushToMain :: WorkflowTrigger
pushToMain = PushTrigger $ PushTriggerAttributes
{ branches = Just ("main" :| [])
, branchesIgnore = Nothing
, paths = Nothing
, pathsIgnore = Nothing
, tags = Nothing
}
-- Issue trigger for specific activity types
issueEvents :: WorkflowTrigger
issueEvents = IssuesTrigger (IssuesOpened :| [IssuesClosed, IssuesLabeled])
For complete event documentation, see: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows
Constructors
| BranchProtectionRuleTrigger (NonEmpty BranchProtectionRuleActivityType) | Branch protection rule events |
| CheckRunTrigger (NonEmpty CheckRunActivityType) | Check run events |
| CheckSuiteCompletedTrigger | Check suite completion |
| CreateTrigger | Branch or tag creation |
| DeleteTrigger | Branch or tag deletion |
| DeploymentTrigger | Deployment events |
| DeploymentStatusTrigger | Deployment status changes |
| DiscussionTrigger (NonEmpty DiscussionActivityType) | Discussion events |
| DiscussionCommentTrigger (NonEmpty DiscussionCommentActivityType) | Discussion comment events |
| ForkTrigger | Repository fork events |
| GollumTrigger | Wiki page events |
| IssueCommentTrigger (NonEmpty IssueCommentActivityType) | Issue comment events |
| IssuesTrigger (NonEmpty IssuesActivityType) | Issue events |
| LabelTrigger (NonEmpty LabelActivityType) | Label events |
| MergeGroupChecksRequestedTrigger | Merge group check requests |
| MilestoneTrigger (NonEmpty MilestoneActivityType) | Milestone events |
| PageBuildTrigger | GitHub Pages build events |
| PublicTrigger | Repository publicity changes |
| PullRequestTrigger PullRequestTriggerAttributes | Pull request events with filtering |
| PullRequestReviewTrigger (NonEmpty PullRequestReviewActivityType) | Pull request review events |
| PullRequestReviewCommentTrigger (NonEmpty PullRequestReviewCommentActivityType) | PR review comment events |
| PullRequestTargetTrigger PullRequestTargetTriggerAttributes | Pull request target events with filtering |
| PushTrigger PushTriggerAttributes | Push events with filtering |
| RegistryPackageTrigger (NonEmpty RegistryPackageActivityType) | Package registry events |
| ReleaseTrigger (NonEmpty ReleaseActivityType) | Release events |
| RepositoryDispatchTrigger (NonEmpty Text) | External repository dispatch events |
| ScheduleTrigger (NonEmpty Text) | Scheduled events (cron expressions) |
| StatusTrigger | Commit status events |
| WatchStartedTrigger | Repository watch events |
| WorkflowCallTrigger WorkflowCallAttributes | Reusable workflow calls |
| WorkflowDispatchTrigger WorkflowDispatchAttributes | Manual workflow dispatch |
| WorkflowRunTrigger WorkflowRunTriggerAttributes | Workflow run events with filtering |
Instances
| FromJSON WorkflowTrigger Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods parseJSON :: Value -> Parser WorkflowTrigger # parseJSONList :: Value -> Parser [WorkflowTrigger] # | |||||
| ToJSON WorkflowTrigger Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods toJSON :: WorkflowTrigger -> Value # toEncoding :: WorkflowTrigger -> Encoding # toJSONList :: [WorkflowTrigger] -> Value # toEncodingList :: [WorkflowTrigger] -> Encoding # omitField :: WorkflowTrigger -> Bool # | |||||
| ToJSONKey WorkflowTrigger Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger | |||||
| Generic WorkflowTrigger Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Associated Types
Methods from :: WorkflowTrigger -> Rep WorkflowTrigger x # to :: Rep WorkflowTrigger x -> WorkflowTrigger # | |||||
| Show WorkflowTrigger Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods showsPrec :: Int -> WorkflowTrigger -> ShowS # show :: WorkflowTrigger -> String # showList :: [WorkflowTrigger] -> ShowS # | |||||
| Eq WorkflowTrigger Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods (==) :: WorkflowTrigger -> WorkflowTrigger -> Bool # (/=) :: WorkflowTrigger -> WorkflowTrigger -> Bool # | |||||
| Ord WorkflowTrigger Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger Methods compare :: WorkflowTrigger -> WorkflowTrigger -> Ordering # (<) :: WorkflowTrigger -> WorkflowTrigger -> Bool # (<=) :: WorkflowTrigger -> WorkflowTrigger -> Bool # (>) :: WorkflowTrigger -> WorkflowTrigger -> Bool # (>=) :: WorkflowTrigger -> WorkflowTrigger -> Bool # max :: WorkflowTrigger -> WorkflowTrigger -> WorkflowTrigger # min :: WorkflowTrigger -> WorkflowTrigger -> WorkflowTrigger # | |||||
| type Rep WorkflowTrigger Source # | |||||
Defined in Language.Github.Actions.Workflow.Trigger type Rep WorkflowTrigger = D1 ('MetaData "WorkflowTrigger" "Language.Github.Actions.Workflow.Trigger" "github-actions-0.1.1.0-BjHhRMO6iQ17qdsNXwhDab" 'False) (((((C1 ('MetaCons "BranchProtectionRuleTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty BranchProtectionRuleActivityType))) :+: C1 ('MetaCons "CheckRunTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty CheckRunActivityType)))) :+: (C1 ('MetaCons "CheckSuiteCompletedTrigger" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CreateTrigger" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "DeleteTrigger" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DeploymentTrigger" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DeploymentStatusTrigger" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "DiscussionTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty DiscussionActivityType)))))) :+: (((C1 ('MetaCons "DiscussionCommentTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty DiscussionCommentActivityType))) :+: C1 ('MetaCons "ForkTrigger" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GollumTrigger" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "IssueCommentTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty IssueCommentActivityType))))) :+: ((C1 ('MetaCons "IssuesTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty IssuesActivityType))) :+: C1 ('MetaCons "LabelTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty LabelActivityType)))) :+: (C1 ('MetaCons "MergeGroupChecksRequestedTrigger" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "MilestoneTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty MilestoneActivityType))))))) :+: ((((C1 ('MetaCons "PageBuildTrigger" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PublicTrigger" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "PullRequestTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PullRequestTriggerAttributes)) :+: C1 ('MetaCons "PullRequestReviewTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty PullRequestReviewActivityType))))) :+: ((C1 ('MetaCons "PullRequestReviewCommentTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty PullRequestReviewCommentActivityType))) :+: C1 ('MetaCons "PullRequestTargetTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PullRequestTargetTriggerAttributes))) :+: (C1 ('MetaCons "PushTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PushTriggerAttributes)) :+: C1 ('MetaCons "RegistryPackageTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty RegistryPackageActivityType)))))) :+: (((C1 ('MetaCons "ReleaseTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty ReleaseActivityType))) :+: C1 ('MetaCons "RepositoryDispatchTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Text)))) :+: (C1 ('MetaCons "ScheduleTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Text))) :+: C1 ('MetaCons "StatusTrigger" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "WatchStartedTrigger" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WorkflowCallTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WorkflowCallAttributes))) :+: (C1 ('MetaCons "WorkflowDispatchTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WorkflowDispatchAttributes)) :+: C1 ('MetaCons "WorkflowRunTrigger" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 WorkflowRunTriggerAttributes))))))) | |||||
gen :: MonadGen m => m WorkflowTrigger Source #