Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Run markdown link check if package.json changes (#11725)
#### Description This PR will run the "markdown-link-check" tool if the package.json changes even if no markdown files were updated. This will help to confirm that "markdown-link-check" is still working as expected after a version update/pin. If 1+ *.md files gets changed AND the package.json gets updated, it will only check the updated files to keep the same behaviour as before. If only the package.json gets updated it will test all existing *.md files. #### Link to tracking issue Fixes #11606 #### Testing I tested/reproduced this manually: 1. *.md file changes, but package.json not: https://github.com/niwoerner/opentelemetry-collector/actions/runs/11959750938 2. *.md file and package.json changes: https://github.com/niwoerner/opentelemetry-collector/actions/runs/11959777300 3. *.md file doesn't change but package.json: https://github.com/niwoerner/opentelemetry-collector/actions/runs/11959797335
- Loading branch information