libretime/.github/workflows/housekeeping.yml
renovate[bot] f6d7be9b1c
chore(deps): update lycheeverse/lychee-action action to v1.9.3 (#2920)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action)
| action | patch | `v1.9.1` -> `v1.9.3` |

---

### Release Notes

<details>
<summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary>

###
[`v1.9.3`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.3):
Version 1.9.3

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.9.2...v1.9.3)

#### What's Changed

- Bugfix: Pass custom `token` as input argument to action by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/222](https://togithub.com/lycheeverse/lychee-action/pull/222)
Previously, the name of the token was incorrect, leading to no token
being used if the user specified `with: [token: ...]`.
Thanks to [@&#8203;tobon4](https://togithub.com/tobon4) for pointing
this out.

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.9.3

###
[`v1.9.2`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.2):
Version 1.9.2

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.9.1...v1.9.2)

#### What's Changed

- Bump actions/cache from 3 to 4 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/lycheeverse/lychee-action/pull/221](https://togithub.com/lycheeverse/lychee-action/pull/221)
- Bump peter-evans/create-issue-from-file from 4 to 5 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/lycheeverse/lychee-action/pull/223](https://togithub.com/lycheeverse/lychee-action/pull/223)
- Bump to lychee 0.14.2 in
eeb9cb63fe

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.9.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/libretime/libretime).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMzUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-30 17:22:44 +00:00

106 lines
3.4 KiB
YAML

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:
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' }}
ignore: .git,/docs/releases/*,CHANGELOG.md
find_broken_links:
if: github.repository_owner == 'libretime'
name: Find broken links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: .lycheecache
key: housekeeping-find-broken-links-${{ github.sha }}
restore-keys: housekeeping-find-broken-links-
- name: Check Links
id: lychee
uses: lycheeverse/lychee-action@v1.9.3
with:
args: >-
'**/*.md'
--require-https
--exclude-all-private
--exclude-mail
--exclude 'example\.(com|org)'
--exclude '\$server_name\$request_uri'
--exclude '%7Bvars.version%7D'
--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)'
--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