-
Notifications
You must be signed in to change notification settings - Fork 675
Added Pipeline for scheduled link rot checker #3649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
e0f80ff
88c29bb
d8a0d06
e3d1c85
5f59c10
00623a2
d3d4403
4b69a32
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -0,0 +1,25 @@ | ||||||||||||||||
name: Automated Link Health Check | ||||||||||||||||
on: | ||||||||||||||||
workflow_dispatch: | ||||||||||||||||
schedule: | ||||||||||||||||
- cron: "00 18 * * *" # Runs the cron at 1800 hrs UTC Everyday | ||||||||||||||||
jobs: | ||||||||||||||||
linkChecker: | ||||||||||||||||
runs-on: ubuntu-latest | ||||||||||||||||
permissions: | ||||||||||||||||
issues: write | ||||||||||||||||
steps: | ||||||||||||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||||||||||||||||
- name: Link Checker | ||||||||||||||||
id: lychee | ||||||||||||||||
uses: lycheeverse/lychee-action@82202e5e9c2f4ef1a55a3d02563e1cb6041e5332 # v2.4.1 | ||||||||||||||||
with: | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It makes sense to add these
Suggested change
|
||||||||||||||||
fail: false | ||||||||||||||||
output: ./lychee/out.md | ||||||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I propose adding this step to output results to a log:
Suggested change
|
||||||||||||||||
- name: Create Issue From File | ||||||||||||||||
if: steps.lychee.outputs.exit_code != 0 | ||||||||||||||||
uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # v5.0.1 | ||||||||||||||||
with: | ||||||||||||||||
title: Link Checker Report | ||||||||||||||||
content-filepath: ./lychee/out.md | ||||||||||||||||
labels: report, automated issue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a whitespace after
#
in comments. E.g., should be: