2 Data sources lookups
Forgejo Actions edited this page 2026-11-18 21:50:59 +00:00

Lookup data sources

xyops_event, xyops_web_hook, xyops_category, xyops_plugin, xyops_monitor, xyops_role, xyops_secret and xyops_config read one object from xyOps. They never write.

Schema

Required (all except xyops_config)

  • id (String) ID of the object.

Read-Only

  • title (String) Not set for xyops_config, or when the object has no title.
  • enabled (Boolean) Not set for xyops_config, or when the object has no enabled flag.
  • json (String) The full object as normalised JSON with sorted keys. Decode it with jsondecode().

What is never exposed

  • xyops_secret uses get_secret, which returns names and assignments only. decrypt_secret is never called, and fields, value, values and data keys are removed if a future xyOps version ever returns them.
  • xyops_web_hook removes url, headers and body, which often embed credentials or {{ secrets.* }} templates.