From f19da8361ee13c7fd92b0859bfd8e33d54d88555 Mon Sep 17 00:00:00 2001 From: "@zimeg" Date: Tue, 22 Oct 2024 12:16:06 -0700 Subject: [PATCH] docs(fix): recommend a templated variable found in the octokit payload --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1a9fc16..acb8c34 100644 --- a/README.md +++ b/README.md @@ -335,9 +335,9 @@ delimiter and will also make values stringified: ### Parsing templated variables -Additional [variables][github-variables] provided by Github can be used to -replace templated variables in the provided payloads using the option to parse -payloads with the `payload-templated` option: +Additional variables provided in the Github event [context][event-context] and +event [payload][event-payload] 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 @@ -350,8 +350,8 @@ payloads with the `payload-templated` option: webhook-type: webhook-trigger ``` -This replaces variables templated with as `${{ github.repository }}` with the -values found in the action context. +This replaces variables templated as `${{ github.payload.repository.html_url }}` +with the values found in the Action context. ### HTTPS proxy