What I don't get is how the GitHub Action cache is shared between unprotected and protected refs. Is that really the case?
Why even have protected branch rules when anyone with write access to an unprotected branch can poison the Action cache and compromise the CI on the next protected branch run?
In GitLab CI caches are not shared between unprotected and protected runs.