Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AutoCorrect Lint CI. #225

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

huacnlee
Copy link
Contributor

Add AutoCorrect for lint zh contents.

https://github.com/huacnlee/autocorrect

Comment on lines +9 to +16
jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: AutoCorrect
uses: huacnlee/autocorrect-action@v2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation is different from source code, and sometimes it shouldn't strictly adhere to a specific formatting strategy. It requires some flexibility, as mentioned in #226 (comment). We would like to have control over the formatting strategy.

Additionally, as a formatting check tool, it should support excluding certain paths and provide options to either output warnings only or fail the CI when formatting issues are detected.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

provide options to either output warnings only or fail the CI when formatting issues are detected.

May I ask that what is your action's support level for this feature?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this file submitted intentionally?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants