libretime/.github/workflows/housekeeping.yml
dependabot[bot] cc0e764f47
chore: bump lycheeverse/lychee-action from 1.3.0 to 1.3.1 (#1646)
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](https://github.com/lycheeverse/lychee-action/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-28 11:20:02 +02:00

66 lines
1.7 KiB
YAML

name: Housekeeping
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
issueLimit:
description: Max. number of issues to create
required: true
default: "5"
jobs:
find_closed_references:
if: github.repository_owner == 'LibreTime'
name: Find closed references
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: "16"
- uses: ory/closed-reference-notifier@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
issueLimit: ${{ github.event.inputs.issueLimit || '5' }}
ignore: .git,/docs/releases/*
find_broken_links:
if: github.repository_owner == 'LibreTime'
name: Find broken links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check Links
id: lychee
uses: lycheeverse/lychee-action@v1.3.1
with:
args: >-
'**/*.md'
--require-https
--exclude-all-private
--exclude-mail
--exclude 'example\.(com|org)'
--exclude '\$server_name\$request_uri'
--exclude 'https://dir.xiph.org/cgi-bin/yp-cgi'
--exclude 'https://radio.indymedia.org/cgi-bin/yp-cgi'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Report
if: ${{ steps.lychee.outputs.exit_code != 0 }}
uses: peter-evans/create-issue-from-file@v3
with:
issue-number: 1589
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: |
is: documentation
ci