Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new input to skip cache updates #751

Open
ozancaglayan opened this issue Oct 23, 2023 · 2 comments
Open

Add a new input to skip cache updates #751

ozancaglayan opened this issue Oct 23, 2023 · 2 comments
Labels
feature request New feature or request to improve the current logic

Comments

@ozancaglayan
Copy link

ozancaglayan commented Oct 23, 2023

Description:

When this action is used with caching enabled, PRs and non-main branches creates new cache artifacts which may be overwhelming. This can be mitigated if something like skip-cache-update: bool option is added and users define it as false if the action runs in a branch that is not main. This would skip the post stage of the action to effectively cancel the cache pushing.

@ozancaglayan ozancaglayan added feature request New feature or request to improve the current logic needs triage labels Oct 23, 2023
@dmitry-shibanov
Copy link
Contributor

Hello @ozancaglayan. Thank you for your feature request. We'll take a look on it.

@akx
Copy link
Contributor

akx commented Nov 10, 2023

Ah, turns out I had the same idea! #762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic
Projects
None yet
Development

No branches or pull requests

3 participants