Skip to content

Commit 71ee302

Browse files
committed
lychee
1 parent 57b1001 commit 71ee302

File tree

4 files changed

+38
-41
lines changed

4 files changed

+38
-41
lines changed

.github/scripts/markdown-link-check-with-retry.sh

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

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ jobs:
101101
name: integration-test-results
102102
path: jmx-metrics/build/reports/tests/integrationTest
103103

104-
markdown-link-check:
105-
uses: ./.github/workflows/reusable-markdown-link-check.yml
104+
link-check:
105+
uses: ./.github/workflows/reusable-link-check.yml
106106

107107
markdown-lint-check:
108108
uses: ./.github/workflows/reusable-markdown-lint.yml
@@ -125,7 +125,7 @@ jobs:
125125
# and so would not short-circuit if used in the second-last position
126126
name: publish-snapshots${{ (github.ref_name != 'main' || github.repository != 'open-telemetry/opentelemetry-java-contrib') && ' (skipped)' || '' }}
127127
needs:
128-
# intentionally not blocking snapshot publishing on markdown-link-check or misspell-check
128+
# intentionally not blocking snapshot publishing on link-check or misspell-check
129129
- build
130130
- integration-test
131131
runs-on: ubuntu-latest
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Reusable - Check links
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
check-links-github:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
12+
# need to rate limit requests to github.com in order to avoid 429s
13+
- uses: lycheeverse/lychee-action@v2
14+
with:
15+
args: >
16+
--include-fragments
17+
--exclude-path CHANGELOG.md
18+
--include github.com
19+
--max-concurrency 5
20+
--max-retries 5
21+
--retry-wait-time 5
22+
.
23+
24+
check-links-other:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
29+
- uses: lycheeverse/lychee-action@v2
30+
with:
31+
args: >
32+
--include-fragments
33+
--exclude-path CHANGELOG.md
34+
--exclude github.com
35+
.

.github/workflows/reusable-markdown-link-check.yml

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

0 commit comments

Comments
 (0)