Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/additional-configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Reference to the flattening implementation is available for exploration from wit

## Parsing templated variables

Additional variables provided in the Github event [context](https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts#L6) and event [payload](https://docs.github.com/en/webhooks/webhook-events-and-payloads) can be used to replace templated variables in the input payload with the `payload-templated` option:
Additional variables provided in the GitHub event [context](https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts#L6) and event [payload](https://docs.github.com/en/webhooks/webhook-events-and-payloads) can be used to replace templated variables in the input payload with the `payload-templated` option:

```yaml
- name: Send custom JSON data to Slack workflow
Expand Down Expand Up @@ -113,4 +113,4 @@ In certain circumstances, such as testing the sent payload, a [custom API URL](h
text: "What's happening on localhost?"
```

The default value of `api` is `https://slack.com/api/` for steps using `method`.
The default value of `api` is `https://slack.com/api/` for steps using `method`.