cleodora
cleodora copied to clipboard
CI: If auto-generated code is out of sync or linting can be auto-fixed, automatically fix it
Some code is generated and can be out of sync if make generate was not executed. There are some linting issues that can be fixed automatically. In both those cases it's more developer friendly to fix it automatically and not just display an error.
https://github.com/marketplace/actions/create-or-update-pull-request
If it happens on main then open a new PR to solve it. If it happens inside a PR then automatically append a commit to that PR fixing the issue.
Might do the job https://github.com/stefanzweifel/git-auto-commit-action