snezhig/obsidian-front-matter-title

Let Eslint fix issues and push directly in CI in repo to automate manually fixing those issues

Closed this issue · 1 comments

If there are some Eslint style issues the build fails and you need to fix them manually. But you can configure your Eslint to fix those issues and then push those fixes into the repo in CI via a GitHub Actions Bot. After that you can do the analysis again and check if all issues are fixed.

For that you need to add a script in package.json to fix those issues and configure the buid.yml file to push those changes. You need to also enable in the repo settings under Actions > General - Workflow permissions Read and Write permissions so that the GH Actions Bot can actually push the changes.

image

I will check it.