Skip to content

Slot: triggers

The names of the events under the file’s on key, such as push, pull_request, schedule or workflow_call.

URI: gha:triggers

Name Description Modifies Slot
GhaWorkflow A workflow file in a repository’s ` yes
GhaReusableWorkflow A workflow that other workflows call as a job, because its on key names `wo… yes
Property Value
Range String
Domain Of GhaWorkflow
Slot URI gha:triggers
Property Value
Multivalued Yes
Property Value
Regex Pattern ^[a-z_]+$
  • A slot rather than an attribute because GhaReusableWorkflow refines it; a pattern rather than an enumeration, because GitHub adds events.
Mapping Type Mapped Value
self gha:triggers
native gha:triggers
related cdx:trigger
name: triggers
description: The names of the events under the file's `on` key, such as `push`, `pull_request`,
`schedule` or `workflow_call`.
comments:
- A slot rather than an attribute because GhaReusableWorkflow refines it; a pattern
rather than an enumeration, because GitHub adds events.
from_schema: https://w3id.org/lmodel/github-actions
see_also:
- https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows
related_mappings:
- cdx:trigger
rank: 1000
slot_uri: gha:triggers
domain_of:
- GhaWorkflow
range: string
multivalued: true
pattern: ^[a-z_]+$