mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
c6ff931516
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action) | action | minor | `v1.8.0` -> `v1.9.0` | `v1.9.1` | --- ### Release Notes <details> <summary>lycheeverse/lychee-action (lycheeverse/lychee-action)</summary> ### [`v1.9.0`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.9.0): Version 1.9.0 [Compare Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.8.0...v1.9.0) #### What's Changed - Document the current directory for the cache argument example by [@​theredfish](https://togithub.com/theredfish) in [https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193) - Add `*.rst` glob pattern to defaults by [@​kdeldycke](https://togithub.com/kdeldycke) in [https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197) - Automatically pass Github token by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/196](https://togithub.com/lycheeverse/lychee-action/pull/196) - Always create output file; not only on error by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/199](https://togithub.com/lycheeverse/lychee-action/pull/199) - Bump actions/checkout from 3 to 4 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/lycheeverse/lychee-action/pull/208](https://togithub.com/lycheeverse/lychee-action/pull/208) - add documentation on using the param when testing local files (as in… by [@​tgaff](https://togithub.com/tgaff) in [https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211) - fix: Lychee output to file (fixes [#​214](https://togithub.com/lycheeverse/lychee-action/issues/214)) by [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) in [https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215) - Add integration test for custom output paths ([#​215](https://togithub.com/lycheeverse/lychee-action/issues/215)) by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/217](https://togithub.com/lycheeverse/lychee-action/pull/217) - Add integration tests for absolute output path and `--dump` by [@​mre](https://togithub.com/mre) in [https://github.com/lycheeverse/lychee-action/pull/218](https://togithub.com/lycheeverse/lychee-action/pull/218) #### New Contributors - [@​theredfish](https://togithub.com/theredfish) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/193](https://togithub.com/lycheeverse/lychee-action/pull/193) - [@​kdeldycke](https://togithub.com/kdeldycke) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/197](https://togithub.com/lycheeverse/lychee-action/pull/197) - [@​tgaff](https://togithub.com/tgaff) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/211](https://togithub.com/lycheeverse/lychee-action/pull/211) - [@​LilDrunkenSmurf](https://togithub.com/LilDrunkenSmurf) made their first contribution in [https://github.com/lycheeverse/lychee-action/pull/215](https://togithub.com/lycheeverse/lychee-action/pull/215) **Full Changelog**: https://github.com/lycheeverse/lychee-action/compare/v1...v1.9.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, 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/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMjcuMCIsInVwZGF0ZWRJblZlciI6IjM3LjEyNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
58 lines
1.9 KiB
YAML
58 lines
1.9 KiB
YAML
name: Check links
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '30 12 * * 1-5'
|
|
|
|
jobs:
|
|
validate:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
env:
|
|
issue-lookup-label: automated-link-issue
|
|
issue-content: ./lychee-out.md
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Restore lychee cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: .lycheecache
|
|
key: cache-lychee-${{ github.sha }}
|
|
restore-keys: cache-lychee-
|
|
- name: Link Checker
|
|
id: lychee
|
|
uses: lycheeverse/lychee-action@v1.9.0
|
|
with:
|
|
fail: true
|
|
args: '"./website/docs/**/*.md" "./website/docs/**/*.mdx" "./src/mailtemplates/*.mustache" --scheme http --scheme https --cache --max-cache-age 7d --exclude-mail --verbose' # other excludes are in .lycheeignore
|
|
output: ${{ env.issue-content }}
|
|
|
|
# Permissions (issues: read)
|
|
- name: 'Look for an existing issue'
|
|
if: ${{ failure() }}
|
|
id: last-issue
|
|
uses: micalevisk/last-issue-action@v2
|
|
# Find the last updated open issue with a `automated-issue` label:
|
|
with:
|
|
state: open
|
|
labels: ${{ env.issue-lookup-label }}
|
|
|
|
# Permissions (issues: write)
|
|
- name: 'Create a new issue, or update an existing one'
|
|
if: ${{ failure() }}
|
|
uses: peter-evans/create-issue-from-file@v4
|
|
with:
|
|
title: 'docs: Broken links found'
|
|
content-filepath: ${{ env.issue-content }}
|
|
# Update an existing issue if one was found (issue_number),
|
|
# otherwise an empty value creates a new issue:
|
|
issue-number: ${{ steps['last-issue']['outputs']['issue-number'] }}
|
|
# Add a label(s) that `last-issue` can use to find this issue,
|
|
# and any other relevant labels for the issue itself:
|
|
labels: |
|
|
${{ env.issue-lookup-label }}
|
|
docs
|