From 71160106c7a6bcaca2d4e8f96fd6d3fbf817f557 Mon Sep 17 00:00:00 2001 From: JuanPabloDiaz Date: Fri, 31 May 2024 07:04:46 -0400 Subject: [PATCH] testins: Create Issue From File #2357 --- .github/workflows/broken-link-checker.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/broken-link-checker.yaml b/.github/workflows/broken-link-checker.yaml index 0a3fc5fb6..353fb60bf 100644 --- a/.github/workflows/broken-link-checker.yaml +++ b/.github/workflows/broken-link-checker.yaml @@ -19,6 +19,11 @@ jobs: args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.json' --exclude-mail --exclude 'http://localhost:*/*' --exclude 'https://*.canva.com/*' env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + continue-on-error: true + + - name: Set lychee_exit_code + id: lychee_exit_code + run: echo "::set-output name=lychee_exit_code::$?" - name: Commit changes run: | @@ -35,3 +40,11 @@ jobs: title: 'Fix broken links' body: 'This PR fixes broken links found by the link checker.' branch: 'fix/broken-links' + + - name: Create Issue From File + if: steps.lychee_exit_code.outputs.lychee_exit_code != 0 + uses: peter-evans/create-issue-from-file@v5.0.0 + with: + title: Link Checker Report + content-filepath: ./lychee/out.md + labels: Broken Link