Skip to content

Commit

Permalink
CI: Remove the deprecated lychee option and specify the output file p…
Browse files Browse the repository at this point in the history
…ath in the Check Links workflow
  • Loading branch information
seisman committed Jun 20, 2024
1 parent c70da3e commit 6fe4969
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
id: lychee
uses: lycheeverse/lychee-action@v1.10.0
with:
output: /tmp/lychee-out.md
# 429: Too many requests
args: >
--accept 429
--exclude-mail
--exclude "^https://doi.org/10.5281/zenodo$"
--exclude "^https://zenodo.org/badge/DOI/$"
--exclude "^https://zenodo.org/badge/DOI/10.5281/zenodo$"
Expand Down Expand Up @@ -71,6 +71,6 @@ jobs:
run: |
cd repository/
title="Link Checker Report on ${{ steps.date.outputs.date }}"
gh issue create --title "$title" --body-file ./lychee/out.md
gh issue create --title "$title" --body-file /tmp/lychee-out.md
env:
GH_TOKEN: ${{ github.token }}

0 comments on commit 6fe4969

Please sign in to comment.