0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2025-01-21 02:12:15 -05:00

update lychee link checker, see #583

This commit is contained in:
Robert Wolff 2025-01-08 14:19:44 +01:00 committed by Earl Warren
parent b456b064ce
commit 37bb061720
3 changed files with 13 additions and 8 deletions

View file

@ -18,16 +18,15 @@ jobs:
- name: Install lychee
run: |
curl -sLO "https://github.com/lycheeverse/lychee/releases/download/v0.15.0/lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz"
tar -xvzf "lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz"
rm "lychee-v0.15.0-x86_64-unknown-linux-gnu.tar.gz"
install -t "$HOME/.local/bin" -D lychee
curl -sLO "https://github.com/lycheeverse/lychee/releases/download/lychee-v0.18.0/lychee-x86_64-unknown-linux-gnu.tar.gz"
tar -xvzf "lychee-x86_64-unknown-linux-gnu.tar.gz"
rm "lychee-x86_64-unknown-linux-gnu.tar.gz"
- name: Link Checker
id: lychee
run: ./lychee docs v7/docs --format markdown
- name: Update issue
if: failure()
uses: https://github.com/peter-evans/create-issue-from-file@v5.0.0
with:
title: Dead links report

View file

@ -1,7 +1,7 @@
---
title: 'Forgejo Actions user guide'
license: 'CC-BY-SA-4.0'
similar: 'https://github.com/go-gitea/gitea/blob/main/docs/content/usage/actions/faq.en-us.md https://docs.github.com/en/actions'
similar: 'https://docs.gitea.com/usage/actions/overview https://docs.github.com/en/actions'
---
`Forgejo Actions` provides Continuous Integration driven from the files in the `.forgejo/workflows` directory of a repository, with a web interface to show the results. The syntax and semantics of the `workflow` files will be familiar to people used to [GitHub Actions](https://docs.github.com/en/actions) but **they are not and will never be identical**.

View file

@ -1,9 +1,15 @@
no_progress = true
output = "report.md"
cache = true
accept = ["200", "429"]
scheme = ["https","http"]
scheme = ["https", "http"]
skip_missing = false
include_verbatim = false
exclude = ['^https://forgejo\.octopuce\.forgejo\.org','http://private.forgejo.org', 'https://codeberg.org/forgejo/forgejo/vX.Y/forgejo']
exclude = [
'https://forgejo\.octopuce\.forgejo\.org',
'http://private.forgejo.org',
'https://code.forgejo.org/api/v1',
'https://codeberg.org/forgejo/forgejo/vX.Y/forgejo',
'https://dash\.cloudflare\.com/\?to\=/\:account/turnstile',
'https://img.shields.io/badge/%7B%7B.label%7D%7D-%7B%7B.text%7D%7D-%7B%7B.color%7D%7D',
]
exclude_all_private = true