Skip to content

Commit f242d80

Browse files
committed
docs: mention webhook_event field in attributes
1 parent f52584b commit f242d80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,9 @@ The `skip_if` field must be a valid [Expr-lang](https://expr-lang.org/) expressi
487487
> [!IMPORTANT]
488488
> _SCM Engine uses [`snake_case`](https://en.wikipedia.org/wiki/Snake_case) for fields instead of [`camelCase`](https://en.wikipedia.org/wiki/Camel_case)_
489489

490+
> [!TIP]
491+
> You have access to the raw webhook event payload via `webhook_event.*` attributes (not listed below) in Expr script fields when using [`server`](#server) mode. See the [GitLab Webhook Events documentation](https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html) for available fields. The attributes are named _exactly_ as documented in the GitLab documentation.
492+
490493
The following attributes are available in `script` fields.
491494

492495
They can be accessed exactly as shown in this list.

0 commit comments

Comments
 (0)