mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-22 20:55:50 +00:00
Test multiline link report v1
This commit is contained in:
7
.github/workflows/link-checker-pr.yml
vendored
7
.github/workflows/link-checker-pr.yml
vendored
@@ -40,7 +40,9 @@ jobs:
|
|||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
sed -i '1,/---------------------------------------/d' linkreport.txt
|
sed -i '1,/---------------------------------------/d' linkreport.txt
|
||||||
echo "::set-output name=linkreport::$(cat linkreport.txt)"
|
|
||||||
|
# old way of setting the link report to an env var
|
||||||
|
# echo "::set-output name=linkreport::$(cat linkreport.txt)"
|
||||||
|
|
||||||
- name: Comment Broken Links
|
- name: Comment Broken Links
|
||||||
uses: unsplash/comment-on-pr@master
|
uses: unsplash/comment-on-pr@master
|
||||||
@@ -48,5 +50,6 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
msg: ${{steps.checker.outputs.linkreport}}
|
# msg: ${{steps.checker.outputs.linkreport}}
|
||||||
|
msg: $(cat linkreport.txt)
|
||||||
check_for_duplicate_msg: false
|
check_for_duplicate_msg: false
|
||||||
|
|||||||
Reference in New Issue
Block a user