constellation/.github/workflows/check-links.yml
2022-11-15 18:24:07 +01:00

33 lines
774 B
YAML

name: Links
on:
workflow_dispatch:
push:
branches:
- main
- "release/**"
paths:
- "**.md"
- "**.html"
pull_request:
paths:
- "**.md"
- "**.html"
jobs:
linkChecker:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # tag=v3.1.0
with:
ref: ${{ github.head_ref }}
- name: Link Checker
uses: lycheeverse/lychee-action@4dcb8bee2a0a4531cba1a1f392c54e8375d6dd81 # v1.5.4
with:
args: "--verbose --no-progress --max-concurrency 5 --exclude-path './cli/internal/helm/charts/cilium' './**/*.md' './**/*.html'"
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}