This message was deleted.
# community-support
s
This message was deleted.
c
by default only the main branch will write to the cache, other branches can use that information.
c
yeah, I get that but didn't I just tell it to by setting that flag?
just trying to test it before merging to the main branch
c
no, there is a separate flag to indicate which branches can write to the cache.
c
what's that? I saw an interpreted string for cache-read-only
but that wasn't a special flag
c
See
Using the cache read-only
in the docs
c
I read that, it doesn't make sense, honestly this API doesn't make sense
I mean, what happens when all values are true?
what happens when they're all false?
what's the actual default
what's the difference between the update and just setting read-only to false
c
The default is something like
github.ref != 'refs/heads/main'
- its readonly everywhere but main. Setting it to
false
would allow any branch to update the cache, and conversely
true
would disable any cache updates.