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

Switch markdownlint GH action to use super-linter #4567

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

MichaelSimons
Copy link
Member

Related to dotnet/dotnet-docker#5316

Switched the MarkDown linter GH action to use the super-linter. This gives us the advantage of enabling other linters via a "flip of a switch". The configuration will be more standardized with the super-linter versus having separate GH actions/linters. The super-linter used the markdownlint tool we are already using so there should be no functional changes.

Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

Copy link

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

@MichaelSimons MichaelSimons marked this pull request as ready for review August 20, 2024 14:21
@MichaelSimons MichaelSimons requested review from a team and removed request for premun August 20, 2024 14:21
name: Lint Code Base

on:
pull_request: null

Choose a reason for hiding this comment

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

Is this a change in behavior? Previously, linter was supposedly on for PRs with a list of file patterns.

Copy link
Member Author

Choose a reason for hiding this comment

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

It is on for PRs with no specific file patterns (e.g. all PRs). The idea is it allows for the easy enablement of other linters supported by the super-linter. e.g. scripting, json, yml, etc.

@MichaelSimons MichaelSimons merged commit 6ff3bb0 into dotnet:main Aug 20, 2024
2 checks passed
@MichaelSimons MichaelSimons deleted the super-linter branch August 20, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants