Skip to content

chore(deps): bump lycheeverse/lychee-action from 1.2.0 to 1.3.0#193

Merged
ivankatliarchuk merged 1 commit into
mainfrom
dependabot/github_actions/lycheeverse/lychee-action-1.3.0
Feb 18, 2022
Merged

chore(deps): bump lycheeverse/lychee-action from 1.2.0 to 1.3.0#193
ivankatliarchuk merged 1 commit into
mainfrom
dependabot/github_actions/lycheeverse/lychee-action-1.3.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 14, 2022

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps lycheeverse/lychee-action from 1.2.0 to 1.3.0.

Release notes

Sourced from lycheeverse/lychee-action's releases.

Version 1.3.0

Update lychee bin to 0.8.2, with directory support.

This will be the default in the next major version, but can already be tested with the following config:

- name: Link Checker
  uses: lycheeverse/lychee-action@v1.3.0
  with:
    # Recursively check all supported files (html, markdown for now) in repo
    args: --verbose --no-progress .

lychee supports plaintext files as well as many other formats, but as of now lychee . is conservative and will only check HTML and Markdown files. So it should be a safe replacement for the current default: './**/*.md' './**/*.html'. It should also be faster and will use less file-handles than glob patterns.

Other highlights of lychee 0.8.2:

Especially the .lycheeignore part should be helpful for folks that used workarounds like custom ignore files before. This is now a native feature of lychee. See lycheeverse/lychee#308 for more info.

Full lychee 0.8.2 changelog here.

Version 1.2.1

Fix evaluating glob patterns

Glob patterns were not properly evaluated for three reasons:

  1. Quotes around globs were not preserved. As a result, unquoted wildcards were evaluated by bash instead of lychee
  2. ** patterns handled by the glob crate need to be prefixed with a separator, e.g. ./. See code here and here. We should probably switch to globset at some point, which doesn't have that limitation.
  3. The lychee command itself needs to be executed with eval to make it find links. Otherwise it interprets the input argument (${ARGS[@]}) as a string and tries to find links within that string. (String input is supported by lychee). We want to interpret it as individual (whitespace-separated) arguments however. (Note that Github Actions doesn't support arrays as inputs, which prevents us from using array splitting.)

Recommended usage inside pipelines: Surround glob patterns with single quotes and prefix them with ./.

- name: Link Checker
  uses: lycheeverse/lychee-action@v1.1.1
  with:
    # Check all Markdown and HTML files
    args: --verbose --no-progress './**/*.md' './**/*.html'

For more context, see #67 and #68. The examples have been updated accordingly.

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](lycheeverse/lychee-action@v1.2.0...v1.3.0)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added 🎲 dependencies 🤖 bot minor when you add functionality in a backwards compatible manner labels Feb 14, 2022
@trafico-bot trafico-bot Bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Feb 14, 2022
@trafico-bot trafico-bot Bot added ✅ Approved Pull Request has been approved and can be merged and removed 🔍 Ready for Review Pull Request is not reviewed yet labels Feb 14, 2022
@ivankatliarchuk ivankatliarchuk merged commit d9c0aed into main Feb 18, 2022
@ivankatliarchuk ivankatliarchuk deleted the dependabot/github_actions/lycheeverse/lychee-action-1.3.0 branch February 18, 2022 08:56
@trafico-bot trafico-bot Bot added ✨ Merged Pull Request has been merged successfully and removed ✅ Approved Pull Request has been approved and can be merged labels Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎲 dependencies ✨ Merged Pull Request has been merged successfully minor when you add functionality in a backwards compatible manner 🤖 bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant