Events
The event fills the workflow’s matching input. For example,
finding.created passes the new finding.
pull_request.commented, issue.opened, and release.published work with GitHub and GitLab repositories. A GitLab connection made before these events were available sends issue and release events only after an admin reconnects it.
Use event data in prompts
An agent prompt can read the data of the event that started the run as{{event.<path>}}. For example:

{{event.<path>}} works only in agent prompts. Every trigger of the workflow must be an event trigger whose event has that field, so Enclave refuses to save a workflow that also has a schedule. When you start the run yourself, Enclave asks you for a value for each field instead.
Schedules
A schedule uses a cron expression and a time zone, for example0 8 * * 1-5 in America/New_York for 8:00 every weekday. Schedules run at most once an hour and use fixed inputs, such as the repository to run on.
Conditions
Add a condition so an event trigger only fires when it matters. Conditions are JSONPath expressions over the event.
Some events skip activity by default:
pull_request.updatedandpull_request.commentedskip pull requests from forks unless the condition checksisFork.pull_request.commentedandissue.openedfire only for trusted authors unless the condition checksauthorTrusted. On GitHub, trusted authors are owners, members, and collaborators. On GitLab, they are authors in private projects.- Comments from bots and from Enclave itself never fire a trigger.
Manage triggers
- Include a trigger when you create the workflow, or add more through the API.
- Use the Triggers switch on the Workflows page to turn them all on or off.
- A workflow you add from the marketplace keeps its event triggers, turned off. Turn them on when you’re ready.