chore: Don't fail broken links checker

This commit is contained in:
Marcel Cruz
2024-08-07 15:24:41 +02:00
parent a693c03e7b
commit 42870ba833

View File

@@ -12,7 +12,7 @@ on:
- main
workflow_dispatch:
schedule: # Run every weekday at 12:30 UTC
- cron: "30 12 * * 1-5"
- cron: '30 12 * * 1-5'
jobs:
Check-for-broken-links:
@@ -35,12 +35,12 @@ jobs:
id: lychee
uses: lycheeverse/lychee-action@v1.10.0
with:
fail: true
fail: false
args: --verbose --no-progress --exclude-file .lycheeignore '**/*.md'
output: ${{ env.issue-content }}
# Permissions (issues: read)
- name: "Look for an existing issue"
- name: 'Look for an existing issue'
if: ${{ failure() }}
id: last-issue
uses: micalevisk/last-issue-action@v2
@@ -50,11 +50,11 @@ jobs:
labels: ${{ env.issue-lookup-label }}
# 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() }}
uses: peter-evans/create-issue-from-file@v4
with:
title: "docs: Broken links found"
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: