Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Exclude HTTPS URLs When Checking #38

Open
praneesha opened this issue Jan 12, 2021 · 3 comments
Open

Exclude HTTPS URLs When Checking #38

praneesha opened this issue Jan 12, 2021 · 3 comments

Comments

@praneesha
Copy link

@peter-evans - I have fixed all the broken links and now I get only the error below in my report.

Screenshot 2021-01-12 at 17 41 33

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 }}
@praneesha
Copy link
Author

@peter-evans - Any answer on the above, please?

@peter-evans
Copy link
Owner

@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.

@praneesha
Copy link
Author

praneesha commented Jan 21, 2021

@peter-evans - Sorry, The Lychee tool doesn't work for me (as reported in lycheeverse/lychee#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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants