mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 11:45:50 +00:00
PR checker: add style report link
This commit is contained in:
10
.github/workflows/link-checker-pr.yml
vendored
10
.github/workflows/link-checker-pr.yml
vendored
@@ -44,6 +44,10 @@ jobs:
|
||||
echo 'EOF' >> $GITHUB_ENV
|
||||
cat linkreport.txt
|
||||
|
||||
- name: Run Style Checker
|
||||
continue-on-error: true
|
||||
run: dactyl_style_checker -q > out/style_report.txt
|
||||
|
||||
- name: Deploy preview to gh-pages
|
||||
uses: sauloxd/review-apps@v1.3.3
|
||||
with:
|
||||
@@ -56,13 +60,9 @@ jobs:
|
||||
id: slug
|
||||
run: echo "::set-output name=sha6::$(echo ${{ github.event.pull_request.head.sha }} | cut -c1-6)"
|
||||
|
||||
- name: Run Style Checker
|
||||
continue-on-error: true
|
||||
run: dactyl_style_checker -q
|
||||
|
||||
- name: Summarize Output
|
||||
uses: unsplash/comment-on-pr@master
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
msg: "${{ env.LINKREPORT }}\n\nPreview: https://${{ github.repository_owner }}.github.io/${{ github.event.pull_request.base.repo.name }}/pr-preview/${{ github.head_ref }}/${{steps.slug.outputs.sha6}}"
|
||||
msg: "${{ env.LINKREPORT }}\n\nPreview: https://${{ github.repository_owner }}.github.io/${{ github.event.pull_request.base.repo.name }}/pr-preview/${{ github.head_ref }}/${{steps.slug.outputs.sha6}}\n\n[Style Report](https://${{ github.repository_owner }}.github.io/${{ github.event.pull_request.base.repo.name }}/pr-preview/${{ github.head_ref }}/${{steps.slug.outputs.sha6}}/style_report.txt)"
|
||||
|
||||
Reference in New Issue
Block a user