link-checker
link-checker copied to clipboard
Exclude HTTPS URLs When Checking
@peter-evans - I have fixed all the broken links and now I get only the error below in my report.

How can I get rid of this to get an empty report? My config is as follows:
on: [pull_request]
name: Link Checker Example Command
jobs:
linkChecker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the site
uses: shafreenAnfar/jekyll-build-action@v5
- name: Link Checker
id: lc
uses: peter-evans/link-checker@v1
with:
args: -r learn swan-lake 1.1 1.0 -x 0.990 https?:// -d ./_site
- name: Archive production artifacts
uses: actions/upload-artifact@v2
with:
name: Link Checker Report
path: ./link-checker/out.md
- name: Fail if there were link errors
run: exit ${{ steps.lc.outputs.exit_code }}
@peter-evans - Any answer on the above, please?
@praneesha It looks like there is something wrong with your args
. The error message is complaining about the https?://
part.
By the way, Liche was recently deprecated and as a result I've also decided to deprecate this action in favour of lychee-action, which is a fork of this project based on lychee. Please consider using that action instead.
@peter-evans - Sorry, The Lychee tool doesn't work for me (as reported in https://github.com/lycheeverse/lychee/issues/106) and I am almost done with configuring your tool.
Thereby, is there a way to skip HTTPS URLs without giving it in the args as I have done above?