Skip to content

Commit a58769b

Browse files
committed
lychee
1 parent 57b1001 commit a58769b

File tree

4 files changed

+39
-41
lines changed

4 files changed

+39
-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: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
-vvv
20+
--max-concurrency 5
21+
--max-retries 5
22+
--retry-wait-time 5000
23+
.
24+
25+
check-links-other:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v4
29+
30+
- uses: lycheeverse/lychee-action@v2
31+
with:
32+
args: >
33+
--include-fragments
34+
--exclude-path CHANGELOG.md
35+
--exclude github.com
36+
.

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

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

0 commit comments

Comments
 (0)