How can I prevent storing cache for pull request branches
Open
Nobody has claimed this yet.
question
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
I want the cache to be restored and used across all pull request workflows. However, if a pull request introduces changes that modify the cache key, I want to prevent the new value from being stored in the cache.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by reviewing the cache action's workflow and cache-save behavior, then establish whether the requested pull-request branch policy is supported; done would be a documented or tested way to restore caches without storing a changed value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100