1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-10 00:29:12 +02:00

Replace markdown link check action with script (#2785)

* Replace markdown link check action with script

* Add change to changelog

* Fix spelling error in CHANGELOG
This commit is contained in:
Tyler Yahn 2022-04-12 17:04:06 -07:00 committed by GitHub
parent db7fd1bb51
commit 57a248d375
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 8 deletions

View File

@ -35,16 +35,23 @@ jobs:
check-links:
runs-on: ubuntu-latest
needs: changedfiles
if: ${{needs.changedfiles.outputs.md}}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
base-branch: 'main'
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.markdown-link.json'
check-modified-files-only: 'yes'
folder-path: ''
# This doesn't use gaurav-nelson/github-action-markdown-link-check
# intentionally. As of v1.0.13 the base image was not pinned to a LTS
# version of node and updates upstream to the base image caused CI
# failures. This boils down the entrypoint script from that repository
# and calls markdown-link-check directly instead.
- name: Install markdown-link-check
run: npm install -g markdown-link-check
- name: Run markdown-link-check
run: |
markdown-link-check \
--verbose \
--config .markdown-link.json \
${{needs.changedfiles.outputs.md}}

View File

@ -8,6 +8,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased]
### Fixed
- Resolve supply-chain failure for the markdown-link-checker GitHub action by calling the CLI directly. (#2834)
## [0.29.0] - 2022-04-11
### Added