II.
OperationalTrigger overview
Reference · liveoperational-trigger:adapters-triggers-github
adapters-triggers — GitHub backend overview
Inspect the raw attributes, linked wiki pages, and inbound or outbound graph edges for operational-trigger:adapters-triggers-github.
Attributes
displayName
adapters-triggers — GitHub backend
triggerKind
webhook-event
effect
Normalizes a GitHub Actions event payload (issue / pull_request /
issue_comment / push) into NormalizedTriggerEvent, enriches changed
files via `pulls/:n/files` or `commits/:sha`, optionally pulls
unified diffs via `git show`, then evaluates a TriggerQuery and
exits 0 (matched) / 78 (skip) / non-zero (error).
idempotent
true
invokerSurface
webhook
backend
github
eventTaxonomy
- issue_comment
- issues
- pull_request
- pull_request_review
- pull_request_review_comment
- push
- workflow_dispatch
dispatchModel
normalize-and-evaluate
payloadShape
NormalizedTriggerEvent
queryDsl
key-colon-value
cliEntrypoint
adapters-triggers
enrichmentSources
- workflow-event-payload
- github-rest-api
- local-git-show
- git-diff-unified
sideEffects
- Sets GITHUB_OUTPUT matched=true|false (action.yml:170)
- Writes enriched event JSON to RUNNER_TEMP/adapters-event.json
- Writes evaluation result JSON to RUNNER_TEMP/adapters-trigger.json
- On match runs pre-run, then `adapters <command>`, then post-run (action.yml:174-232)
sourceCitation
packages/triggers-adapter/src/backends/github.ts:4 (normalizeGithub),
packages/triggers-adapter/src/enrich.ts:61 (enrichGithubFromApi),
packages/triggers-adapter/action.yml:131-172 (Evaluate trigger step).
exitCodeSemantics
- 0:matched:trigger query matched, downstream pipeline runs (cli.ts:65)
- 78:skip:trigger query did not match; action.yml:165 treats 78 as soft-skip
- 1:error:invalid args / unhandled exception
Outgoing edges
calls_endpoint2
- api-endpoint:github-pulls-files·APIEndpointGET /repos/{repo}/pulls/{n}/files (per_page=100)
- api-endpoint:github-commits-by-sha·APIEndpointGET /repos/{repo}/commits/{sha}
has_payload_schema1
- shared-context-spec:normalized-trigger-event·SharedContextSpecNormalizedTriggerEvent payload schema
implemented_by1
- package:a5c-ai-triggers·PackageSurfaceTriggers Adapter
parsed_by_grammar1
- grammar:adapters-triggers-query-dsl·Grammaradapters-triggers TriggerQuery DSL
Incoming edges
called_by_trigger2
- api-endpoint:github-pulls-files·APIEndpointGET /repos/{repo}/pulls/{n}/files (per_page=100)
- api-endpoint:github-commits-by-sha·APIEndpointGET /repos/{repo}/commits/{sha}
grammar_parses_for1
- grammar:adapters-triggers-query-dsl·Grammaradapters-triggers TriggerQuery DSL