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

feat: Implemented cache management and cleanup workflows #24

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

niyajali
Copy link
Collaborator

@niyajali niyajali commented Jan 22, 2025

This commit introduces two new workflows:

  • Close Add github action for cache cleanup workflow #22

  • Cache Management: This workflow monitors cache usage and automatically clears all caches if the total size exceeds 10GB. It also handles workflow failures that might be caused by cache issues, clearing the cache and triggering the workflow again.

  • Cache Cleanup: This workflow provides functionality to cleanup caches for Pull Requests and/or all caches for the repository. It can be triggered manually or by other workflows to manage cache usage and prevent excessive storage consumption.

This commit introduces two new workflows:

- **Cache Management:** This workflow monitors cache usage and automatically clears all caches if the total size exceeds 10GB. It also handles workflow failures that might be caused by cache issues, clearing the cache and triggering the workflow again.
- **Cache Cleanup:** This workflow provides functionality to cleanup caches for Pull Requests and/or all caches for the repository. It can be triggered manually or by other workflows to manage cache usage and prevent excessive storage consumption.
@niyajali niyajali merged commit 1aa85b7 into openMF:main Jan 22, 2025
@niyajali niyajali deleted the add-cache-cleanup-workflows branch January 22, 2025 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add github action for cache cleanup workflow
1 participant