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
Applicable Classes
Section titled “Applicable Classes”| 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 |
Properties
Section titled “Properties”Type and Range
Section titled “Type and Range”| Property | Value |
|---|---|
| Range | String |
| Domain Of | GhaWorkflow |
| Slot URI | gha:triggers |
Cardinality and Requirements
Section titled “Cardinality and Requirements”| Property | Value |
|---|---|
| Multivalued | Yes |
Value Constraints
Section titled “Value Constraints”| Property | Value |
|---|---|
| Regex Pattern | ^[a-z_]+$ |
Comments
Section titled “Comments”- A slot rather than an attribute because GhaReusableWorkflow refines it; a pattern rather than an enumeration, because GitHub adds events.
See Also
Section titled “See Also”Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/github-actions
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | gha:triggers |
| native | gha:triggers |
| related | cdx:trigger |
LinkML Source
Section titled “LinkML Source”name: triggersdescription: 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-actionssee_also:- https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflowsrelated_mappings:- cdx:triggerrank: 1000slot_uri: gha:triggersdomain_of:- GhaWorkflowrange: stringmultivalued: truepattern: ^[a-z_]+$