Why is the garbage collection being disabled? #593
              
                Unanswered
              
          
                  
                    
                      rudyocalan
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 1 reply
-
| 
         Same problem where with self hosted runners. I guess this is not an issue for the GH runners because they are using short-lived VMs. One workaround I can think of would be to use a post job script 1 and do something like in it. But that is also a bit wasteful although this should be fast in the common case that no garbage collection is required.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I noticed the checkout action is disabling the garbage collection of the local git repo. Since the .git folders of our local repos on our self-hosted runners are starting to get bigger, I was wondering why it is being disabled and if this is something that should be optional?
checkout/src/git-source-provider.ts
Line 92 in afe4af0
Thanks for the feedback.
Beta Was this translation helpful? Give feedback.
All reactions