chore: Don't fail broken links checker
This commit is contained in:
10
.github/workflows/broken-link-checker.yml
vendored
10
.github/workflows/broken-link-checker.yml
vendored
@@ -12,7 +12,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule: # Run every weekday at 12:30 UTC
|
schedule: # Run every weekday at 12:30 UTC
|
||||||
- cron: "30 12 * * 1-5"
|
- cron: '30 12 * * 1-5'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Check-for-broken-links:
|
Check-for-broken-links:
|
||||||
@@ -35,12 +35,12 @@ jobs:
|
|||||||
id: lychee
|
id: lychee
|
||||||
uses: lycheeverse/lychee-action@v1.10.0
|
uses: lycheeverse/lychee-action@v1.10.0
|
||||||
with:
|
with:
|
||||||
fail: true
|
fail: false
|
||||||
args: --verbose --no-progress --exclude-file .lycheeignore '**/*.md'
|
args: --verbose --no-progress --exclude-file .lycheeignore '**/*.md'
|
||||||
output: ${{ env.issue-content }}
|
output: ${{ env.issue-content }}
|
||||||
|
|
||||||
# Permissions (issues: read)
|
# Permissions (issues: read)
|
||||||
- name: "Look for an existing issue"
|
- name: 'Look for an existing issue'
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
id: last-issue
|
id: last-issue
|
||||||
uses: micalevisk/last-issue-action@v2
|
uses: micalevisk/last-issue-action@v2
|
||||||
@@ -50,11 +50,11 @@ jobs:
|
|||||||
labels: ${{ env.issue-lookup-label }}
|
labels: ${{ env.issue-lookup-label }}
|
||||||
|
|
||||||
# Permissions (issues: write)
|
# Permissions (issues: write)
|
||||||
- name: "Create a new issue, or update an existing one"
|
- name: 'Create a new issue, or update an existing one'
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
uses: peter-evans/create-issue-from-file@v4
|
uses: peter-evans/create-issue-from-file@v4
|
||||||
with:
|
with:
|
||||||
title: "docs: Broken links found"
|
title: 'docs: Broken links found'
|
||||||
content-filepath: ${{ env.issue-content }}
|
content-filepath: ${{ env.issue-content }}
|
||||||
# Update an existing issue if one was found (issue_number),
|
# Update an existing issue if one was found (issue_number),
|
||||||
# otherwise an empty value creates a new issue:
|
# otherwise an empty value creates a new issue:
|
||||||
|
|||||||
Reference in New Issue
Block a user