Merge pull request #130 from awesome-scripts/dependabot/npm_and_yarn/β¦ #3
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: Validate links on push + PR | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| lychee: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6.0.2 | |
| - name: Validate links | |
| uses: lycheeverse/lychee-action@v2.8.0 | |
| with: | |
| # Check all MD files, ignore ok/redir/blocked/rate-limited, exclude commonly down domains | |
| args: > | |
| "*.md" "**/*.md" | |
| --verbose --no-progress | |
| --accept 200..299,300..399,403,429 | |
| --exclude api\.star-history\.com --exclude ghostbrowser\.com | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |