Skip to content

Commit acdcfa1

Browse files
committed
add date to issue, verbose
1 parent feea408 commit acdcfa1

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/check_links.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,24 @@ jobs:
2020
- name: Link Checker
2121
id: lychee
2222
uses: lycheeverse/lychee-action@v2
23-
23+
2424
with:
2525
# This token is included to avoid github.com requests rate limiting
2626
token: ${{ secrets.TOKEN_GITHUB }}
2727
fail: false
2828
args: >
2929
./doc/sphinx/**/*.rst
30-
--verbose --max-concurrency 1 --no-progress
30+
--verbose warn --max-concurrency 1 --no-progress
3131
--accept '100..=103,200..=399, 429'
3232
--exclude https://doi.org/
33+
34+
- name: Set current date
35+
run: echo "REPORT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
3336

3437
- name: Create Issue From File
3538
if: steps.lychee.outputs.exit_code != 0
3639
uses: peter-evans/create-issue-from-file@v5
3740
with:
38-
title: Link Checker Report
41+
title: "Link Checker Report - ${{ env.REPORT_DATE }}"
3942
content-filepath: ./lychee/out.md
4043
labels: documentation, github_actions

0 commit comments

Comments
 (0)