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

Simplify PR markdown lint workflow and fix deprecation warnings #553

Merged
merged 5 commits into from
Apr 11, 2024

Conversation

martinmo
Copy link
Member

@martinmo martinmo commented Apr 5, 2024

The computation of $DIFF_DOCUMENTS is futile, because in package.json the list **/*.md is hardcoded and all markdown files are linted anyways. I also think this is the better approach for the CI, so I propose this simplification.

Furthermore I changed the workflow to run

  • when package-lock.json is changed, because this could mean the linter was updated and new linter versions might have a different opinion on style,
  • when the workflow file itself is changed.

Also see #549.

@martinmo martinmo marked this pull request as ready for review April 5, 2024 14:21
@martinmo martinmo self-assigned this Apr 5, 2024
@martinmo martinmo requested a review from mbuechse April 5, 2024 14:21
@martinmo martinmo merged commit 5e9dfd5 into main Apr 11, 2024
6 checks passed
@martinmo martinmo deleted the feat/simplify-pr-markdownlint branch April 11, 2024 07:08
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