cleodora icon indicating copy to clipboard operation
cleodora copied to clipboard

CI: If auto-generated code is out of sync or linting can be auto-fixed, automatically fix it

Open omarkohl opened this issue 2 years ago • 1 comments

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.

omarkohl avatar Dec 10 '22 19:12 omarkohl

Might do the job https://github.com/stefanzweifel/git-auto-commit-action

omarkohl avatar Jun 08 '23 21:06 omarkohl