From fe4ee07a8debfba61cd37b619817ced45ce0aca4 Mon Sep 17 00:00:00 2001
From: Justin Poehnelt <jpoehnelt@google.com>
Date: Mon, 11 May 2020 11:28:38 -0700
Subject: [PATCH] docs: add note about branch scope

---
 README.md | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 33fe48c..2da51e4 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Create a workflow `.yml` file in your repositories `.github/workflows` directory
 ### Inputs
 
 * `path` - A directory to store and save the cache
-* `key` - An explicit key for restoring and saving the cache
+* `key` - An explicit key for restoring and saving the cache.
 * `restore-keys` - An ordered list of keys to use for restoring the cache if no cache hit occurred for key
 
 ### Outputs
@@ -25,6 +25,11 @@ Create a workflow `.yml` file in your repositories `.github/workflows` directory
 
 > See [Skipping steps based on cache-hit](#Skipping-steps-based-on-cache-hit) for info on using this output
 
+### Branch scope
+The cache is scoped to the key and branch. The default branch cache is available to other branches. 
+
+See https://help.github.com/en/actions/configuring-and-managing-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key for more info.
+
 ### Example workflow
 
 ```yaml