feat(ci): autofix in CI instead of requiring contributors to push a new commit#6574
Merged
CommanderStorm merged 3 commits intolouislam:masterfrom Jan 3, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces an automated code formatting workflow using autofix.ci to automatically fix linting issues in pull requests, eliminating the need for contributors to manually push formatting fixes.
Key changes:
- Adds a new GitHub Actions workflow that runs ESLint and Stylelint auto-fixers on pushes and pull requests
- Integrates with autofix.ci to automatically commit formatting fixes back to the branch
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Owner
Should be just installed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ℹ️ To keep reviews fast and effective, please make sure you’ve read our pull request guidelines
📝 Summary of changes done and why they are done
Instead of requiring me or contributors to fix pure formatting issues, we should just do this for them.
@louislam this again requires admin level priviliges to enable.
-> please install this here https://autofix.ci/
to see it in action in CommanderStorm/mdbook-mermaid-ssr#44
All of this is much simpler to get secure than the alternatives (where I would not know if i can entirely make that happen) that I could build.
In terms of actual alternatives, I only know of http://pre-commit.ci/ and I like this more, since it is more out of the way.