Skip to content

Commit

Permalink
[chore] Fix link checker to allow empty links (open-telemetry#12055)
Browse files Browse the repository at this point in the history
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
Fix an issue that `changelog` action will fail if there are no links
detected:
https://github.com/open-telemetry/opentelemetry-collector/actions/runs/12667603014/job/35301289365

Adding `failIfEmpty: false` to the action according to the doc:
https://github.com/lycheeverse/lychee-action/blob/master/README.md#passing-arguments
<!-- Issue number if applicable -->
#### Link to tracking issue
n/a

<!--Describe what testing was performed and which tests were added.-->
#### Testing
n/a

<!--Describe the documentation added.-->
#### Documentation
n/a

<!--Please delete paragraphs that you did not use before submitting.-->
  • Loading branch information
sincejune authored Jan 8, 2025
1 parent 70fc33e commit 0ece678
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@ jobs:
uses: lycheeverse/lychee-action@f796c8b7d468feb9b8c0a46da3fac0af6874d374
with:
args: "--verbose --no-progress ./changelog_preview.md --config .github/lychee.toml"
failIfEmpty: false

0 comments on commit 0ece678

Please sign in to comment.