Merge pull request #40 from Eddy3D-Dev/palette-descriptive-links-1486… #56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check for broken links | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [dev] | |
| paths: | |
| - "docs/**/*.md" | |
| - ".github/workflows/links.yml" | |
| pull_request: | |
| branches: [dev] | |
| paths: | |
| - "docs/**/*.md" | |
| jobs: | |
| link-checker: | |
| runs-on: ubuntu-22.04 | |
| permissions: {} # principle of least privilege | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # --- Scan links in Markdown *and* generated HTML ---------------------- | |
| - name: Link Checker 🔗 | |
| uses: lycheeverse/lychee-action@v2 | |
| with: | |
| fail: false # do not fail the job on any bad link | |
| args: > | |
| --verbose | |
| --no-progress | |
| --timeout 60 | |
| --max-retries 5 | |
| --retry-wait-time 5 | |
| --accept '100..=103,200..=299,503' | |
| ./docs/**/*.md # original sources | |