florian-lefebvre / astro-integration-kit

A package that contains utilities to help you build Astro integrations.
https://astro-integration-kit.netlify.app
MIT License
56 stars 8 forks source link

Automate `pnpm lint:fix` #71

Open florian-lefebvre opened 7 months ago

florian-lefebvre commented 7 months ago

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)

Fryuni commented 7 months ago

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.

florian-lefebvre commented 7 months ago

Sounds good! I'd love this