-
Notifications
You must be signed in to change notification settings - Fork 687
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
Open
krishnaduttPanchagnula
wants to merge
10
commits into
lima-vm:master
Choose a base branch
from
krishnaduttPanchagnula:link-rot-checker-3635
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
647dc21
added script and pipline for scheduled link rot checker
krishnaduttPanchagnula d137afc
Updated the pipeline to use lychee action
krishnaduttPanchagnula 70e54c5
made Yamllint changes
krishnaduttPanchagnula 89a39ec
made pipeline changes to improve readibility
krishnaduttPanchagnula 1ddc16d
made pipeline changes to improve readibility
krishnaduttPanchagnula b3791e5
fixed the lychee version hash
krishnaduttPanchagnula e2c3fb9
White space fixed
krishnaduttPanchagnula 37a8c86
White space fixed
krishnaduttPanchagnula 2e39249
Update .github/workflows/links.yml
krishnaduttPanchagnula b151321
Update .github/workflows/links.yml
krishnaduttPanchagnula File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
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: | ||
krishnaduttPanchagnula marked this conversation as resolved.
Show resolved
Hide resolved
|
||
args: | | ||
--max-concurrency 1 \ | ||
--no-progress \ | ||
--scheme https \ | ||
--scheme http | ||
fail: false | ||
output: ./lychee/out.md | ||
krishnaduttPanchagnula marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: Show Report | ||
run: cat lychee/out.md | ||
- 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 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: