diff --git a/.github/workflows/link_checker_workflow.yaml b/.github/workflows/link_checker_workflow.yaml index 6fbacf5a8c0..4c58608d418 100644 --- a/.github/workflows/link_checker_workflow.yaml +++ b/.github/workflows/link_checker_workflow.yaml @@ -79,8 +79,15 @@ jobs: debug: false env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Find comment + if: env.HAS_CHANGES == 'true' && steps.lychee-check.outcome == 'failure' + uses: peter-evans/find-comment@v3 + id: find-comment + with: + issue-number: ${{ github.event.pull_request.number }} + body-includes: "## Link Resolution Note" - - name: Prepare Report Message + - name: Prepare Report if: env.HAS_CHANGES == 'true' && steps.lychee-check.outcome == 'failure' run: | # Create a new file 'full-report.md'