astro-integration-kit icon indicating copy to clipboard operation
astro-integration-kit copied to clipboard

Automate `pnpm lint:fix`

Open florian-lefebvre opened this issue 1 year ago • 3 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)

florian-lefebvre avatar Feb 29 '24 15:02 florian-lefebvre

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.

Fryuni avatar Mar 01 '24 03:03 Fryuni

Sounds good! I'd love this

florian-lefebvre avatar Mar 01 '24 06:03 florian-lefebvre

https://github.com/florian-lefebvre/astro-integration-kit/pull/122

ITZSHOAIB avatar Nov 12 '24 07:11 ITZSHOAIB