mirror of
https://github.com/decalage2/awesome-security-hardening.git
synced 2025-09-06 03:53:00 +02:00
Add CI action to check for broken links
This commit is contained in:
18
.github/workflows/links-fail-fast.yml
vendored
Normal file
18
.github/workflows/links-fail-fast.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Links (Fail Fast)
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
linkChecker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Link Checker
|
||||
uses: lycheeverse/lychee-action@v1.5.0
|
||||
with:
|
||||
fail: true
|
||||
env:
|
||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
Reference in New Issue
Block a user