Trigger an action when cache directory is too big
Hello,
I have many troubles with minify folders using too much space because of inline JS. It is really hard to debug and check, and many times your hosting provider warns you or block access or bills additionnal fees because of the space taken.
My pull request adds an action, to at least, let admins create their own notification/warning system.
Thank you
Description
Please include a summary of the change and which issue is fixed/closed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #(issue number)
Type of change
Please delete options that are not relevant.
- [x] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] Enhancement (non-breaking change which improves an existing functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [x] This change requires a documentation update
Is the solution different from the one proposed during the grooming?
Please describe in this section if there is any change to the solution, and why.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- [ ] Test A
- [ ] Test B
Checklist:
Please delete the options that are not relevant.
- [x] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
I don't know how to fix the integrations tests errors... please help.