Skip to content

Commit 67c9a02

Browse files
authored
docs: update action for link check and fix one broken link (#1322)
fix: update action for link check and fix one broken link
1 parent 97955b0 commit 67c9a02

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

.github/workflows/ci-markdown-link.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@ name: Markdown Link Check
22

33
on:
44
pull_request:
5+
paths:
6+
- '**/*.md'
57

68
jobs:
79
markdown-link-check:
810
runs-on: ubuntu-latest
911
steps:
1012
- uses: actions/checkout@v4
1113

12-
- name: "Markdown Link Check"
13-
uses: gaurav-nelson/github-action-markdown-link-check@v1
14+
# equivalent cli: linkspector check
15+
- name: Run linkspector
16+
uses: umbrelladocs/action-linkspector@v1
1417
with:
15-
config-file: '.markdown-link-check.json'
16-
use-quiet-mode: 'yes'
17-
use-verbose-mode: 'yes'
18+
github_token: ${{ secrets.GITHUB_TOKEN }}
19+
reporter: github-pr-review
20+
fail_on_error: true

.markdown-link-check.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

instrumentation/active_model_serializers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ end
3232

3333
## Examples
3434

35-
Example usage of active_model_serializers can be seen in the `./example/active_model_serializers.rb` file [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/active_model_serializers/example/active_model_serializers.rb)
35+
Example usage of active_model_serializers can be seen in the `./example/` folder [here](https://github.com/open-telemetry/opentelemetry-ruby-contrib/tree/main/instrumentation/active_model_serializers/example)
3636

3737
## How can I get involved?
3838

0 commit comments

Comments
 (0)