Update format.yml | Improve the github action
MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅
@pgmpablo157321 Please review these changes - should fix the code formatter GH action.
@mrmhodak @pgmpablo157321 can we merge this PR? This is blocking the #1884
@arjunsuresh I tested it in my fork of the repo, the workflow seem to run, but I don't see the format changes pushed https://github.com/pgmpablo157321/inference/pull/5
Thank you @pgmpablo157321 for testing. I have fixed it by adding a missing git fetch.
Tested again and now it works fine in my fork