-
Notifications
You must be signed in to change notification settings - Fork 59.8k
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
chore: Add Markdownlint checking and CI #541
Conversation
Thanks for opening this pull request! A GitHub docs team member should be by to give feedback soon. In the meantime, please check out the contributing guidelines. |
1a7470f
to
3127609
Compare
@chiedo I noticed you changed all the action version to shas. Is that something that I need to do, or would that happen if this is accepted afterwards? |
👋🏿 @nschonni thanks for this PR! Yes the sha changes will automatically apply. They should be present once you click the "Update branch" button. We're running a little behind on things but we'll review this soon! |
@chiedo no worries, I see you have a bunch of hacktoberfest spam to deal with right now 😆 I hit the update, but since this is proposing a new Action file, I figured it might need some manual intervention |
Got it! We'll take a look. |
a635316
to
2994c1a
Compare
@chiedo aha, figured it out based on the CI failure. I copied the values from the |
d532f47
to
c5e8af3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased. If reviewing with the whitespace diff off, I commented on the only text change on the English doc that required changes in the translated docs because the table format issue there got mangled in the translation parser
content/admin/installation/installing-github-enterprise-server-on-google-cloud-platform.md
Outdated
Show resolved
Hide resolved
@rachmari / @janiceilene would you be willing to take this one over? This would impact the writers much more heavily than engineering. From an engineering perspective, the change I would suggest is that the |
@chiedo I can ignore the |
Thanks @nschonni ! I understand why you'd suggest that. But changes in the |
@chiedo yup, I get not wanting to take PRs directly on the content because Crowdin overwrites this (I was involved in setting it up for Node.js), but checking the content coming from Crowdin makes sure the content isn't malformed when it comes back from there. The original parsing issue that made me need to modify the MD files in this PR has been fixed upstream, so if a release comes out there soon, I'll pull out those content changes to a new PR. I'm thinking that this should be split into 2 jobs with 2 different path filters to handle the translations separately though. That way the second translations-only job could fail/be ignored while the translations are addressed in Crowdin, and not show a failure on other MD changes |
ebb6685
to
11303be
Compare
@chiedo OK, split the job so there is different filtering based off of the translated vs. regular content. This way you can catch if Crowdin pushes broken markdown, but those failures won't show up on PRs for non-translated content |
I can also rebase out the translated file changes, but the second job will crash till they are addressed |
Got it thanks! We'll wait and see what @janiceilene and the writers think. This one will be their call as it would affect their workflows. |
11303be
to
0b21a3f
Compare
Why:
Linting the markdown will ensure that common rendering issues are caught and that the files are consistently formatted.
What's being changed:
Check off the following: