I am trying out GitHub actions lately and wanted to know the best way to modify code wit GitHub Actions.
My github repository is integrated with CircleCI that checks if my code is well formatted using
prettier. I also added renovate bot to automatically make PRs that update package dependencies.
The problem is the code renovate bot generates is not formatted, which makes CI fail. My solution is to trigger GitHub actions to run
prettier whenever there is a push to the repository, then call GitHub API to push a commit that formats the code. What's your opinion?