libretime/.github/workflows/housekeeping.yml

107 lines
3.5 KiB
YAML
Raw Normal View History

name: Housekeeping
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
issueLimit:
description: Max. number of issues to create
required: true
default: "5"
permissions:
issues: write
jobs:
find_closed_references:
2022-03-03 12:07:16 +01:00
if: github.repository_owner == 'libretime'
name: Find closed references
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
- uses: ory/closed-reference-notifier@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
issueLimit: ${{ github.event.inputs.issueLimit || '5' }}
2022-12-19 16:41:01 +01:00
ignore: .git,/docs/releases/*,CHANGELOG.md
find_broken_links:
2022-03-03 12:07:16 +01:00
if: github.repository_owner == 'libretime'
name: Find broken links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
2022-09-02 09:22:42 +02:00
with:
path: .lycheecache
key: housekeeping-find-broken-links-${{ github.sha }}
restore-keys: housekeeping-find-broken-links-
- name: Check Links
id: lychee
chore(deps): update lycheeverse/lychee-action action to v2.1.0 (#3108) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [lycheeverse/lychee-action](https://redirect.github.com/lycheeverse/lychee-action) | action | minor | `v2.0.2` -> `v2.1.0` | --- ### Release Notes <details> <summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary> ### [`v2.1.0`](https://redirect.github.com/lycheeverse/lychee-action/releases/tag/v2.1.0): Version 2.1.0 [Compare Source](https://redirect.github.com/lycheeverse/lychee-action/compare/v2.0.2...v2.1.0) #### What's Changed - Add missing argument `failIfEmpty` by [@&#8203;LitoMore](https://redirect.github.com/LitoMore) in [https://github.com/lycheeverse/lychee-action/pull/261](https://redirect.github.com/lycheeverse/lychee-action/pull/261) - Fix bugs about the exit code by [@&#8203;YDX-2147483647](https://redirect.github.com/YDX-2147483647) in [https://github.com/lycheeverse/lychee-action/pull/262](https://redirect.github.com/lycheeverse/lychee-action/pull/262) - Bump lychee version to 0.17.0 by [@&#8203;mre](https://redirect.github.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/263](https://redirect.github.com/lycheeverse/lychee-action/pull/263) #### New Contributors - [@&#8203;LitoMore](https://redirect.github.com/LitoMore) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/261](https://redirect.github.com/lycheeverse/lychee-action/pull/261) - [@&#8203;YDX-2147483647](https://redirect.github.com/YDX-2147483647) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/262](https://redirect.github.com/lycheeverse/lychee-action/pull/262) **Full Changelog**: https://github.com/lycheeverse/lychee-action/compare/v2...v2.1.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/libretime/libretime). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43LjEiLCJ1cGRhdGVkSW5WZXIiOiIzOS43LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImNpIiwiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 19:08:43 +01:00
uses: lycheeverse/lychee-action@v2.1.0
with:
args: >-
'**/*.md'
--require-https
--exclude-all-private
--exclude 'example\.(com|org)'
2022-02-16 09:48:01 +01:00
--exclude '\$server_name\$request_uri'
--exclude '%7Bvars.version%7D'
2022-02-16 09:48:01 +01:00
--exclude 'https://dir.xiph.org/cgi-bin/yp-cgi'
--exclude 'https://radio.indymedia.org/cgi-bin/yp-cgi'
--exclude 'https://www.ascap.com'
--exclude 'https://www.youtube-nocookie.com'
--exclude 'github\.com/libretime/libretime/(issues|pulls)'
--exclude 'https://packages.ubuntu.com/bionic/php7.2'
--exclude 'https://packages.ubuntu.com/bionic/python3'
2022-09-02 09:22:42 +02:00
--cache
--max-cache-age 2d
fail: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
find_stale_issues:
if: github.repository_owner == 'libretime'
name: Find stale issues
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v9
with:
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
activity in the last 5 months. It will be closed if no activity occurs in
the next month.
Please chat to us on the [forum](https://discourse.libretime.org/) or
ask for help on [#libretime:matrix.org](https://matrix.to/#/#libretime:matrix.org)
if you have any questions or need further support with getting this issue resolved.
You may also label an issue as *pinned* if you would like to make sure
that it does not get closed by this bot.
close-issue-message: >
This issue has been automatically closed after is was marked as stale and
did not receive any further inputs.
Feel free to let us know on the [forum](https://discourse.libretime.org/) or
ask for help on [#libretime:matrix.org](https://matrix.to/#/#libretime:matrix.org)
if you feel this issue should not have been closed.
Thank you for your contributions.
days-before-issue-stale: 150
days-before-issue-close: 30
stale-issue-label: "status: stalled"
exempt-issue-labels: "status: pinned,status: maybe later,security,is: feature-request"
exempt-issue-assignees: true
exempt-issue-milestones: true