File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Daily Broken Link Check
33on :
44 schedule :
55 - cron : ' 0 2 * * *' # Every day at 2:00 AM UTC
6- workflow_dispatch : # Optional: allows manual run
6+ workflow_dispatch :
77
88jobs :
99 lychee :
@@ -23,18 +23,17 @@ jobs:
2323 --exclude-mail
2424 --no-progress
2525 --exclude ^https?://
26- --output lychee/out.md
2726 '**/*.md'
27+ output : lychee/out.md # ✅ Set output file here, not in args
2828 env :
2929 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3030
3131 - name : Create or update GitHub Issue if broken links found
32- if : failure() # Only runs if Lychee exits with error (broken links found)
32+ if : failure()
3333 uses : peter-evans/create-issue-from-file@v4
3434 with :
3535 title : " 🚨 Broken Links Detected"
3636 content-filepath : lychee/out.md
3737 labels : bug, links
38- assignees : your-github-username # optional: assign to yourself
39- update-existing : true # ✅ Avoids duplicate issues
40- issue-pattern : " Broken Links Detected" # Matches existing issue title
38+ update-existing : true
39+ issue-pattern : " Broken Links Detected"
You can’t perform that action at this time.
0 commit comments