You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `path` | Files, directories, and wildcard patterns to cache | Yes | |
67
67
| `key` | Explicit key for restoring and saving cache | Yes | |
68
-
| `restore-keys` | Ordered list of prefix-matched keys for fallback | No | |
69
-
| `fallback-branch` | Optional maintenance branch for fallback restore keys (pattern: `branch-*`, S3 backend only). If not set, the repository default branch is used. | No | |
70
-
| `environment` | Environment to use (dev or prod, S3 backend only) | No | `prod` |
71
-
| `upload-chunk-size` | Chunk size for large file uploads (bytes) | No | |
| `fail-on-cache-miss` | Fail workflow if cache entry not found | No | `false` |
74
-
| `lookup-only` | Only check cache existence without downloading | No | `false` |
75
-
| `backend` | Force specific backend: `github`or `s3`. Takes priority over `CACHE_BACKEND` env var and auto-detection. | No | |
68
+
| `restore-keys` | Ordered list of prefix-matched keys for fallback | No | |
69
+
| `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` |
70
+
| `fallback-branch` | Optional maintenance branch for fallback restore keys (pattern: `branch-*`, S3 backend only). If not set, the repository default branch is used. | No | |
71
+
| `environment` | Environment to use (dev or prod, S3 backend only) | No | `prod` |
72
+
| `upload-chunk-size` | Chunk size for large file uploads (bytes) | No | |
0 commit comments