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:
parent
db7fd1bb51
commit
57a248d375
23
.github/workflows/markdown.yml
vendored
23
.github/workflows/markdown.yml
vendored
@ -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}}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user