mirror of
https://github.com/emmabostian/developer-portfolios.git
synced 2025-01-23 01:46:00 +00:00
Update lychee-action
This commit is contained in:
parent
175ddadf2e
commit
055e7225b5
16
.github/workflows/link-checker.yml
vendored
16
.github/workflows/link-checker.yml
vendored
@ -1,8 +1,8 @@
|
||||
on:
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "00 18 * * 0"
|
||||
repository_dispatch:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "00 18 * * 0"
|
||||
name: Check markdown links
|
||||
jobs:
|
||||
linkChecker:
|
||||
@ -12,12 +12,14 @@ jobs:
|
||||
|
||||
- name: Link Checker
|
||||
id: lychee
|
||||
uses: lycheeverse/lychee-action@v1.5.1
|
||||
uses: lycheeverse/lychee-action@v1.6.1
|
||||
with:
|
||||
args: README.md
|
||||
args: README.md
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Create Issue From File
|
||||
if: steps.lychee.outputs.exit_code != 0
|
||||
if: env.lychee_exit_code != 0
|
||||
uses: peter-evans/create-issue-from-file@v4
|
||||
with:
|
||||
title: "[Bot] Broken Links Report"
|
||||
|
Loading…
Reference in New Issue
Block a user