Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

feat(gha): unify GHA - renovate, megalinter, markdown, and others #1

feat(gha): unify GHA - renovate, megalinter, markdown, and others

feat(gha): unify GHA - renovate, megalinter, markdown, and others #1

Workflow file for this run

---
name: links
on:
workflow_dispatch:
push:
paths:
- .github/workflows/links.yml
- lychee.toml
schedule:
- cron: "0 0 * * 1"
permissions: read-all
jobs:
links:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup Pages
id: pages
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0
- name: Restore lychee cache
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: .lycheecache
key: cache-lychee-${{ github.sha }}
restore-keys: cache-lychee-
- name: Link Checker
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: lycheeverse/lychee-action@c053181aa0c3d17606addfe97a9075a32723548a # v1.9.3
with:
args: ". --exclude-path CHANGELOG.md ${{ steps.pages.outputs.base_url }}"
fail: true