codeql-action
codeql-action copied to clipboard
CODEQL_ACTION_CLEANUP_TRAP_CACHES is not working
From https://github.com/github/codeql-action/issues/2030#issuecomment-2844971762
CODEQL_ACTION_CLEANUP_TRAP_CACHES is not working now. CodeQL generate 300M+ cache each CI build. We always have trouble with the amount of limit by this problem.
- Repository: https://github.com/ruby/ruby
- Workflow: ttps://github.com/ruby/ruby/blob/master/.github/workflows/codeql-analysis.yml
Does anyone show how to run with debug mode with CodeQL with above action?
Hi. Here are some instructions on how to run CodeQL in debug mode.
I enabled debug option at https://github.com/ruby/ruby/actions/runs/14872449516/job/41763447167
Ruby core team are in real trouble with this issue. But there is no solution today for this.
I added automated purge step for TRAP cache at https://github.com/ruby/ruby/pull/13330.
Could you please try setting trap-caching: false in the with: section of the github/codeql-action/init step? That should disable the feature entirely.
@adityasharad Thanks for your advice. I added trap-caching: false to our workflows. I will share that results after a few weeks later.