1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.github/workflows/check_links.yaml
renovate[bot] 0daf3e53d1
chore(deps): update lycheeverse/lychee-action action to v1.5.4 (#2367)
[![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.5.1` -> `v1.5.4` |

---

### Release Notes

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

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

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

#### What's Changed

- Cleanup old lychee bin after install by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/172](https://togithub.com/lycheeverse/lychee-action/pull/172)

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

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

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

#### What's Changed

- Bump lychee version to fix issues with email checking by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/171](https://togithub.com/lycheeverse/lychee-action/pull/171)

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

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

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

#### What's Changed

- Replace deprecated `::set-output` by `$GITHUB_ENV` by
[@&#8203;Yury-Fridlyand](https://togithub.com/Yury-Fridlyand) in
[https://github.com/lycheeverse/lychee-action/pull/167](https://togithub.com/lycheeverse/lychee-action/pull/167)
- fix: install lychee to a user owner directory by
[@&#8203;aslafy-z](https://togithub.com/aslafy-z) in
[https://github.com/lycheeverse/lychee-action/pull/162](https://togithub.com/lycheeverse/lychee-action/pull/162)
- docs: bump version in README by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/156](https://togithub.com/lycheeverse/lychee-action/pull/156)
- docs: small adjustments to README by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/157](https://togithub.com/lycheeverse/lychee-action/pull/157)
- Order args alphabetically by [@&#8203;mre](https://togithub.com/mre)
in
[https://github.com/lycheeverse/lychee-action/pull/159](https://togithub.com/lycheeverse/lychee-action/pull/159)
- Add debug argument by [@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/160](https://togithub.com/lycheeverse/lychee-action/pull/160)
- Bump actions/checkout from 3.0.2 to 3.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/lycheeverse/lychee-action/pull/165](https://togithub.com/lycheeverse/lychee-action/pull/165)

#### New Contributors

- [@&#8203;aslafy-z](https://togithub.com/aslafy-z) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/162](https://togithub.com/lycheeverse/lychee-action/pull/162)
- [@&#8203;Yury-Fridlyand](https://togithub.com/Yury-Fridlyand) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/167](https://togithub.com/lycheeverse/lychee-action/pull/167)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.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://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:59:14 +01:00

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@v3
- 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.5.4
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