mirror of
https://github.com/emmabostian/developer-portfolios.git
synced 2025-04-20 21:28:00 +00:00
Merge pull request #1222 from InCogNiTo124/update-link-checker
Update lychee-action to 1.6.1
This commit is contained in:
commit
64d55957c6
16
.github/workflows/link-checker.yml
vendored
16
.github/workflows/link-checker.yml
vendored
@ -1,8 +1,8 @@
|
|||||||
on:
|
on:
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "00 18 * * 0"
|
- cron: "00 18 * * 0"
|
||||||
name: Check markdown links
|
name: Check markdown links
|
||||||
jobs:
|
jobs:
|
||||||
linkChecker:
|
linkChecker:
|
||||||
@ -12,12 +12,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Link Checker
|
- name: Link Checker
|
||||||
id: lychee
|
id: lychee
|
||||||
uses: lycheeverse/lychee-action@v1.5.1
|
uses: lycheeverse/lychee-action@v1.6.1
|
||||||
with:
|
with:
|
||||||
args: README.md
|
args: README.md
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Create Issue From File
|
- 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
|
uses: peter-evans/create-issue-from-file@v4
|
||||||
with:
|
with:
|
||||||
title: "[Bot] Broken Links Report"
|
title: "[Bot] Broken Links Report"
|
||||||
|
Loading…
Reference in New Issue
Block a user