From dc275d7944a9f06cf6e29acba30fc4a7eb349ef8 Mon Sep 17 00:00:00 2001 From: Koussay-mehdouani Date: Mon, 9 Nov 2026 13:39:05 +0100 Subject: [PATCH] Fix hashFiles description in dependency-caching.md --- .../reference/workflows-and-actions/dependency-caching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/actions/reference/workflows-and-actions/dependency-caching.md b/content/actions/reference/workflows-and-actions/dependency-caching.md index 1ac52fcc12a0..efd414af9640 100644 --- a/content/actions/reference/workflows-and-actions/dependency-caching.md +++ b/content/actions/reference/workflows-and-actions/dependency-caching.md @@ -146,7 +146,7 @@ npm-${{ hashFiles('package-lock.json') }} {% endraw %} -{% data variables.product.prodname_dotcom %} evaluates the expression `hash "package-lock.json"` to derive the final `key`. +{% data variables.product.prodname_dotcom %} evaluates the `hashFiles('package-lock.json')` expression to derive the final `key`. `hashFiles` returns a full SHA-256 hash, so in practice the `key` ends with the complete 64-character hash. The example below shows a shortened version of the hash. ```yaml npm-d5ea0750