+ [5 years ago] ajnr Soliton, I have changed my current working directory to your local repositoryand then excuted the above command git rm --cached giant_file here the giant_file i sthe embeding file. i gave the path , but it is not working. i may be doing wrong somewhere
+ [5 years ago] ajnr Soliton, Thanks - trying
+ [5 years ago] BtbN Can I make a step in a Github workflow conditional?
+ [5 years ago] BtbN I have a final step that pushes a built and tested Docker-Image to a registry.
+ [5 years ago] BtbN But whenever someone forks the repo and does stuff, they get a failure e-mail for every push, because their fork obviously does not have the credentials.

message no. 177554

Posted by BtbN in #github at 2020-03-05T12:47:29Z

Can I make a step in a Github workflow conditional?
+ [5 years ago] th_ any way to see the size of a repo?
+ [5 years ago] R2robot du -h in your repo dir should give you an idea
+ [5 years ago] canton7 th_, it's a tricky question to answer: a repo might be highly compressed (for efficiently transfer it over a network), or it might have removed compression in lots of places (to let you switch branches quicker without having to decompress stuff), or it might have garbage in it (because running the GC is costly). Probably the best thing is to clone
+ [5 years ago] canton7 it with --no-hardlinks, the use du in the clone: that forces it to fully compress
+ [5 years ago] canton7 Although that's also affected by config values like core.compression, and the ones which tell it how much effort to put into packing