Skip to content

Bump lycheeverse/lychee-action from 1 to 2 - #12

Merged
swang22 merged 1 commit into
mainfrom
dependabot/github_actions/lycheeverse/lychee-action-2
Apr 8, 2026
Merged

Bump lycheeverse/lychee-action from 1 to 2#12
swang22 merged 1 commit into
mainfrom
dependabot/github_actions/lycheeverse/lychee-action-2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 23, 2026

Copy link
Copy Markdown
Contributor

Bumps lycheeverse/lychee-action from 1 to 2.

Release notes

Sourced from lycheeverse/lychee-action's releases.

Version 2.0.0

Breaking Changes

Note: This release improves the action's robustness by changing default behaviors. Changes are only required if you want to opt out of the new failure conditions. Most users won't need to modify their existing configurations.

Fail pipeline on error by default

We've changed the default behavior: pipelines will now fail on broken links automatically. This addresses user feedback that not failing on broken links was unexpected (see [issue #71](lycheeverse/lychee-action#71)).

What you need to do:

  • Update to version 2 of this action to apply this change.
  • Users of the lychee-action@master branch don't need to make any changes, as fail: true has been the default there for a while.
  • If you prefer the old behavior, explicitly set fail to false when updating:
- name: Link Checker
  id: lychee
  uses: lycheeverse/lychee-action@v2
  with:
    fail: false  # Don't fail action on broken links

Fail pipeline if no links were found

Similar to the above change, we now fail the pipeline if no links are found during a run. This helps warn users about potential configuration issues.

What you need to do:

  • If you expect links to be found in your pipeline run, you don't need to do anything.
  • If you expect no links in your pipeline run, you can opt out like this:
- name: Link Checker
  id: lychee
  uses: lycheeverse/lychee-action@v2
  with:
    failIfEmpty: false  # Don't fail action if no links were found

Exit code handling

In this version, we changed the environment variable for the lychee exit code from GITHUB_ENV to GITHUB_OUTPUT. Please update your scripts. For more details, see lycheeverse/lychee-action#245.

For a more detailed description of the technical aspects behind these changes, please see the full changelog below.

What's Changed

... (truncated)

Commits
  • 8646ba3 Add message with Summary report URL (#326)
  • c6e7911 [create-pull-request] automated change
  • 631725a Bump peter-evans/create-pull-request from 7 to 8 (#318)
  • 942f324 Bump actions/cache from 4 to 5 (#319)
  • 79de881 Bump actions/checkout from 5 to 6 (#316)
  • 1ef33e2 Update test to use --root-dir instead of the deprecated --base (#315)
  • 50a631e Update args for lychee-action to use root-dir (#314)
  • a8c4c7c [create-pull-request] automated change (#312)
  • 44b353b Upgrade checkout action from v4 to v5 (#310)
  • e79a91b Bump peter-evans/create-issue-from-file from 5 to 6 (#307)
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Feb 23, 2026
Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 1 to 2.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](lycheeverse/lychee-action@v1...v2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot changed the base branch from master to main April 8, 2026 00:05
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/lycheeverse/lychee-action-2 branch from 4fe1bf4 to a006d98 Compare April 8, 2026 00:05
@swang22
swang22 merged commit 1f08d0b into main Apr 8, 2026
0 of 2 checks passed
@dependabot
dependabot Bot deleted the dependabot/github_actions/lycheeverse/lychee-action-2 branch April 8, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant