From 0ece6789195060e4157cfa46ae093170b46495da Mon Sep 17 00:00:00 2001 From: Chao Weng <19381524+sincejune@users.noreply.github.com> Date: Thu, 9 Jan 2025 00:59:36 +0800 Subject: [PATCH] [chore] Fix link checker to allow empty links (#12055) #### 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 #### Link to tracking issue n/a #### Testing n/a #### Documentation n/a --- .github/workflows/changelog.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index eb6f0ee0e15..7d08dd95f3c 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -82,3 +82,4 @@ jobs: uses: lycheeverse/lychee-action@f796c8b7d468feb9b8c0a46da3fac0af6874d374 with: args: "--verbose --no-progress ./changelog_preview.md --config .github/lychee.toml" + failIfEmpty: false