-
Notifications
You must be signed in to change notification settings - Fork 15
34 lines (30 loc) · 933 Bytes
/
docs-links.yaml
File metadata and controls
34 lines (30 loc) · 933 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: "Docs / Links"
# For more information,
# see https://sphinx-theme.scylladb.com/stable/deployment/production.html#available-workflows
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # At 00:00 on Sunday
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
fetch-depth: 0
- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2.8.0
with:
args: --verbose --no-progress './**/*.md' './**/*.rst'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Create Issue From File
if: ${{ steps.lychee.outputs.exit_code != 0 }}
uses: peter-evans/create-issue-from-file@v6
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue