constellation/.github/workflows/check-links.yml
renovate[bot] a8101c8c64
deps: update GitHub action dependencies (#1745)
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-05-05 14:42:20 +02:00

34 lines
900 B
YAML

name: Links
on:
workflow_dispatch:
push:
branches:
- "release/**"
paths:
- "**.md"
- "**.html"
- "./.github/workflows/check-links.yml"
pull_request:
paths:
- "**.md"
- "**.html"
- "./.github/workflows/check-links.yml"
jobs:
linkChecker:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: ${{ !github.event.pull_request.head.repo.fork && github.head_ref || '' }}
- name: Link Checker
uses: lycheeverse/lychee-action@97189f2c0a3c8b0cb0e704fd4e878af6e5e2b2c5 # v1.7.0
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}}