chore(deps): update lycheeverse/lychee-action action to v2
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| lycheeverse/lychee-action | action | major | v1.10.0 -> v2.7.0 |
Release Notes
lycheeverse/lychee-action (lycheeverse/lychee-action)
v2.7.0: Version 2.7.0
Breaking changes
If you're using --base, you must now provide either a URL (with scheme) or an absolute local path. See lychee --help for more information. If you want to resolve root-relative links in local files, also see --root-dir.
What's Changed
- Bump peter-evans/create-issue-from-file from 5 to 6 by @dependabot[bot] in #307
- Upgrade checkout action from v4 to v5 by @jacobdalamb in #310
- Update lycheeVersion to v0.21.0 by @github-actions[bot] in #312 See https://github.com/lycheeverse/lychee/releases/tag/lychee-v0.21.0 for the lychee changelog.
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.7.0
v2.6.1: Version 2.6.1
What's Changed
- Update lycheeVersion to v0.20.1 by @github-actions[bot] in #306, which contains a hotfix for #305.
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.6.1
v2.6.0: Version 2.6.0
What's Changed
- Update lychee version to v0.20.0 by @github-actions[bot] in #304
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #303
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.6.0
v2.5.0: Version 2.5.0
Summary
Most notably with this release the deprecated --exclude-mail flag was removed and the behavior of the --accept flag was updated. Previously, status codes such as 200 OK were always accepted. Now they are only accepted by default. This means providing the argument --accept 201 now rejects status code 200 OK.
What's Changed
- Update lycheeVersion to v0.19.1 by @github-actions[bot] in #300
- See the lychee changes here: https://github.com/lycheeverse/lychee/releases/tag/lychee-v0.19.1, https://github.com/lycheeverse/lychee/releases/tag/lychee-v0.19.0
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.5.0
v2.4.1: Version 2.4.1
What's Changed
- Added Update Default Lychee version workflow by @Arteiii in #284
- Use temporary directory for lychee installation by @mre in #287
- Fix
lycheeversion check by @mondeja in #288
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.4.1
v2.4.0: Version 2.4.0
What's Changed
-
lychee now has a new task output, which allows to track which links got fixed more easily. It looks like this:
[test.html]:
- [x] [404] https://en.wikipedia.org/wiki/foo | Network error: Not Found
- [ ] [404] https://en.wikipedia.org/wiki/bar | Network error: Not Found
- [ ] [ERROR] https://example.com/baz | Network error: error sending request for url (https://example.com/baz) Maybe a certificate error?
Each broken link has a checkbox that can be ticked off once fixed. Credit goes to @Arteiii for the idea and the implementation. See #274 for more information.
New Contributors
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.4.0
v2.3.0: Version 2.3.0
What's Changed
- feat: support ARM workers by @LesnyRumcajs in #273
New Contributors
- @LesnyRumcajs made their first contribution in #273
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.3.0
v2.2.0: Version 2.2.0
What's Changed
- Fix if expressions in GitHub actions by @YDX-2147483647 in #265
- Update README.md to include continue-on-error: true in action by @psobolewskiPhD in #267
- Bump default version to latest (0.18.0) by @trask in #269
New Contributors
- @psobolewskiPhD made their first contribution in #267
- @trask made their first contribution in #269
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.2.0
v2.1.0: Version 2.1.0
What's Changed
- Add missing argument
failIfEmptyby @LitoMore in #261 - Fix bugs about the exit code by @YDX-2147483647 in #262
- Bump lychee version to 0.17.0 by @mre in #263
New Contributors
- @LitoMore made their first contribution in #261
- @YDX-2147483647 made their first contribution in #262
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.1.0
v2.0.2: Version 2.0.2
What's Changed
- Fix a typos by @szepeviktor in #257
- Document and use correct permissions in the GitHub workflows by @dscho in #258
- Add security policy by @mondeja in #259
New Contributors
- @szepeviktor made their first contribution in #257
- @mondeja made their first contribution in #259
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.0.2
v2.0.1: Version 2.0.1
What's Changed
- Don't remove the lychee config file by @dmathieu in #255
- Bump lycheeverse/lychee-action from 1 to 2 by @dependabot in #252
- Fix variable name in docs by @kdeldycke in #253
New Contributors
- @dmathieu made their first contribution in #255
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v2...v2.0.1
v2.0.0: 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).
What you need to do:
- Update to version 2 of this action to apply this change.
- Users of the
lychee-action@masterbranch don't need to make any changes, asfail: truehas been the default there for a while. - If you prefer the old behavior, explicitly set
failtofalsewhen 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 #245.
For a more detailed description of the technical aspects behind these changes, please see the full changelog below.
What's Changed
- feat: change to use the full version tag with v-* prefix by @kemingy in #204
- Add
failIfEmptyargument (fixes #84) by @mre in #86 - Fail pipeline on error by default (fixes #71) by @mre in #85
- Exit in case output is set in args and action input by @mre in #227
- v1 will automatically use latest version by @jacobdalamb in #228
- Remove unneeded text by @jacobdalamb in #229
- Clarify README.md defaults by @paddyroddy in #230
- Adjust for new asset naming scheme by @dscho in #234
- Test various lychee versions by @mre in #235
- Better cleanup of old lychee assets by @mre in #237
- Bump peter-evans/create-issue-from-file from v4 to v5 by @AndreiCherniaev in #241
- Remove dots from table by @AndreiCherniaev in #242
- README: update actions/cache to v4 by @sebastiaanspeck in #243
- Set exit_code correctly as output by @sebastiaanspeck in #245
- action: fix failing CI by @sebastiaanspeck in #246
- Split up steps in action by @mre in #248
- Bump version to 0.16.x, respect new tag names by @mre in #249
- Test latest lychee version tag by @mre in #236
New Contributors
- @kemingy made their first contribution in #204
- @paddyroddy made their first contribution in #230
- @dscho made their first contribution in #234
- @AndreiCherniaev made their first contribution in #241
- @sebastiaanspeck made their first contribution in #243
Full Changelog: https://github.com/lycheeverse/lychee-action/compare/v1...v1.11.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.