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
I have two separate workflows (I simplified the details as much as possible for brevity):
ci runs on push: trigger and creates a cache key key-${{github.sha}}
pr-checks runs on pull_request: trigger (with synchronize included) and tries to read key key-
My understanding is that, pr-checks should be able to read from the cache, even if in case of synchronize event it would get the cache corresponding to the previous commit sha that was cached.
However the pr-checks always fails with cache not found for key ..., even though if check on Github's UI, valid cache keys for that branch exists.
Is this expected? Does it have something to do with the scope of the cache? (I wouldn't expect it, since the cache was created in the scope of let's say feature-branch-1, and the PR ref is also feature-branch-1)