From 00fc9a027252814cdb5c1fee566e0ab32e4883dd Mon Sep 17 00:00:00 2001 From: Brian Date: Tue, 24 Mar 2026 14:08:14 -0500 Subject: [PATCH] BUILD-10774: Changes default value of `fallback-to-default-branch` flag to true --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 47bada3..4f82543 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ These must be committed since GitHub Actions runs them directly. | `path` | Files, directories, and wildcard patterns to cache | Yes | | | `key` | Explicit key for restoring and saving cache | Yes | | | `restore-keys` | Ordered list of prefix-matched keys for fallback | No | | -| `fallback-to-default-branch` | Automatically add a fallback restore key pointing to the default branch cache (S3 backend only). Disable if you want strict branch isolation. | No | `false` | +| `fallback-to-default-branch` | Automatically add a fallback restore key pointing to the default branch cache (S3 backend only). Disable if you want strict branch isolation. | No | `true` | | `fallback-branch` | Optional maintenance branch for fallback restore keys (pattern: `branch-*`, S3 backend only). If not set, the repository default branch is used. | No | | | `environment` | Environment to use (dev or prod, S3 backend only) | No | `prod` | | `upload-chunk-size` | Chunk size for large file uploads (bytes) | No | | diff --git a/action.yml b/action.yml index dbab774..a2c8be0 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,7 @@ inputs: description: > When enabled, automatically adds a fallback restore key pointing to the default branch cache. Only applies to the S3 backend. - default: 'false' + default: 'true' backend: description: > Force cache backend ('github' or 's3'). If not set, falls back to the CACHE_BACKEND environment variable if defined,