From 5dd41a825c2ada3e9bb11931ff088ccbd4e800f8 Mon Sep 17 00:00:00 2001 From: Andre_601 Date: Fri, 12 May 2023 17:41:24 +0200 Subject: [PATCH] chore: add note about invalid var name (#10) * Add note about invalid var name * Update README.md Co-authored-by: Konstantin Chukhlomin --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b214ca9..748a3fb 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ GitHub Action to render file based on template and passed variables. You must set at least `vars` or `vars_path`. You may set both of them (`vars` values will precede over `vars_path`). +Variables names must be alphanumeric strings (must not contain any hyphens). + There are few template functions available: - `date` – formats timestamp using Go's [time layout](https://golang.org/pkg/time/#pkg-constants).