diff --git a/.github/workflows/link-checker-pr.yml b/.github/workflows/link-checker-pr.yml index 18aa9f71b1..be177431a3 100644 --- a/.github/workflows/link-checker-pr.yml +++ b/.github/workflows/link-checker-pr.yml @@ -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)"