Cache saved from the merge_group
to main
event can't be restored on future PRs to main
#66430
Unanswered
yogurtearl
asked this question in
Pull Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Let's say I have Merge Queues enabled for the
main
branch.If I save via
actions/cache
from themerge_group
triggered workflow (targeting themain
branch), best I can tell, I can NOT restore those caches in a future PR, because they where created onmerge_group
formain
and notpush
formain
.Seems related to these restrictions:
https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#restrictions-for-accessing-a-cache
Feature request: allow storing to cache on
merge_group
tomain
and then restoring those caches on future PRs tomain
.This allows us to avoid having to run some workflows on
push
tomain
when then are redundant with the workflows that are running viamerge_group
Beta Was this translation helpful? Give feedback.
All reactions