florian-lefebvre / astro-integration-kit

A package that contains utilities to help you build Astro integrations.

Home Page:https://astro-integration-kit.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automate `pnpm lint:fix`

florian-lefebvre opened this issue · comments

Right now it's not a great contribution experience to require contributors (especially first time ones) to run pnpm lint:fix. It would be great to have an action that runs on main and does this. I recommend we use autofix-ci for this (I think an example can be found on nuxt repo)

I have a nifty workflow on some repos at work that I think would be great here. A "check meargeability" job requires reviews and labels, so nothing can be merged without them. The last label it requires is a ready-for-merge and that formats and commits in the PR itself.

Works fine for branches in the repo, but for forks I think it requires the "allow maintainer edits", which is on by default but users can disable it.

Sounds good! I'd love this