We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aad0cd commit b917200Copy full SHA for b917200
.github/workflows/link-checker.yml
@@ -29,6 +29,7 @@ jobs:
29
env:
30
JEKYLL_ENV: production # Built like production (rather than locally)
31
32
+
33
- name: Link Checker
34
id: lychee
35
uses: lycheeverse/lychee-action@v2
@@ -45,10 +46,13 @@ jobs:
45
46
# avoid 429 errors (too many requests) on github.com api requests
47
GITHUB_TOKEN: ${{secrets.TOKEN_GITHUB}}
48
49
+ - name: Set current date
50
+ run: echo "REPORT_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
51
52
- name: Create Issue From File
53
if: steps.lychee.outputs.exit_code != 0
54
uses: peter-evans/create-issue-from-file@v5
55
with:
- title: "🔗 Link Check Report - $(date + '%Y-%m-%d')"
56
+ title: "🔗 Link Check Report - ${{ env.REPORT_DATE }}"
57
content-filepath: ./lychee/out.md
58
labels: bug
0 commit comments