Skip to content

Add a new input to skip cache updates #751

Description

@ozancaglayan

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.

Metadata

Metadata

Labels

feature requestNew feature or request to improve the current logic

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions