Skip to content

Commit

Permalink
lychee
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Nov 25, 2024
1 parent 57b1001 commit ebe5e04
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 41 deletions.
17 changes: 0 additions & 17 deletions .github/scripts/markdown-link-check-with-retry.sh

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ jobs:
name: integration-test-results
path: jmx-metrics/build/reports/tests/integrationTest

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

markdown-lint-check:
uses: ./.github/workflows/reusable-markdown-lint.yml
Expand All @@ -125,7 +125,7 @@ jobs:
# and so would not short-circuit if used in the second-last position
name: publish-snapshots${{ (github.ref_name != 'main' || github.repository != 'open-telemetry/opentelemetry-java-contrib') && ' (skipped)' || '' }}
needs:
# intentionally not blocking snapshot publishing on markdown-link-check or misspell-check
# intentionally not blocking snapshot publishing on link-check or misspell-check
- build
- integration-test
runs-on: ubuntu-latest
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/reusable-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Reusable - Check links

on:
workflow_call:

jobs:
check-links-github:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# need to rate limit requests to github.com in order to avoid 429s
- uses: lycheeverse/lychee-action@v2
with:
args: >
--include-fragments
--include github.com
--max-concurrency 2
.
check-links-other:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: lycheeverse/lychee-action@v2
with:
args: >
--include-fragments
--exclude github.com
.
21 changes: 0 additions & 21 deletions .github/workflows/reusable-markdown-link-check.yml

This file was deleted.

0 comments on commit ebe5e04

Please sign in to comment.