constellation/.github/workflows/check-links.yml
Nils Hanke a7e81aef73
Update GitHub workflow runners to Ubuntu 22.04 (#513)
* Update all GitHub action runners to ubuntu-22.04
* Fix license checker script for grep >3.4
2022-11-10 16:55:24 +01:00

32 lines
635 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:
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}