Replies: 1 comment 4 replies
-
Are you sure you have a populated cache in your main branch? I was having a similar issue, but it turned out that I've never added a cache entry from the main branch. Once this was sorted, the cache was accessible to the action in the merge queue. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using actions/cache in a Merge Queue enabled repository. The Merge Queue checks work instead of checks by push trigger.
Usually actions/cache reuses caches from main branch when running on a topic branch or pull request merge (
refs/pull/<number>/merge
). However, caches are not reused from Merge Queue checks (gh-readonly-queue/main/<ref>
). It would be great if I can assume thegh-readonly-queue/main/*
is a global scope; any other topic branches can reuse from caches from the refs.Is there any workaround or something for this?
Beta Was this translation helpful? Give feedback.
All reactions