From 46fead7f5e04ecfcf8e2f83aa0a908b284e14c04 Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Fri, 15 May 2020 10:28:56 -0700 Subject: [PATCH] docs: add note about branch scope (#307) * docs: add note about branch scope * revert change --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 33fe48c..14c503a 100644 --- a/README.md +++ b/README.md @@ -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