-
Notifications
You must be signed in to change notification settings - Fork 930
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
Fix .md docs #12378
Fix .md docs #12378
Conversation
Looks like the error format changed with mdl 0.12, causing our error filtering/ignore list to not work anymore. |
@ru-fu please could you take a look at this? |
I just added a commit that should fix it. |
Here's the action run with my fix, but without yours: https://github.com/ru-fu/lxd/actions/runs/6506990288/job/17673588099 |
a7d522e
to
7bf8ced
Compare
This one took me forever to figure out, and I'd love to see a good solution for it. ;) |
Well, the problem I saw with it was that it was outside of the subshell I cherry-picked your fix (thanks!) and I'm now trying to iterate on solution that'd provide more context in case of error. I was thinking of using something like |
But for failures, we print the filtered_errors variable - that should be sufficient? |
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
The markdown linter now outputs a list of rules in addition to the error (changed in markdownlint/markdownlint#407). Update the script to get rid of these, and deal with the now empty list if all errors are filtered. Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com> Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
80d12bf
to
ec7c678
Compare
No description provided.