From 2c3d3d0e6fd2e54e24e1c23277cd5c950cce38c4 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Mon, 12 Jun 2023 02:22:22 +0200 Subject: [PATCH] feat: Initial message and failure --- .github/workflows/lighthouse-report.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lighthouse-report.yaml b/.github/workflows/lighthouse-report.yaml index 51372a7..51c77a5 100644 --- a/.github/workflows/lighthouse-report.yaml +++ b/.github/workflows/lighthouse-report.yaml @@ -27,7 +27,9 @@ jobs: with: header: unlighthouse message: | - Running Lighthouse audit... + ⚡️ Lighthouse report + + ![Loading](https://github.com/bartvdbraak/omnidash/assets/3996360/8e85bc78-53ac-41de-bdb6-bedfe8c6d8c1) - name: Check out uses: actions/checkout@v3.5.3 @@ -129,3 +131,13 @@ jobs: header: unlighthouse message: | ${{ steps.format_lighthouse_score.outputs.comment }} + + - name: Sticky Comment on Pull Request with failure + uses: marocchino/sticky-pull-request-comment@v2.6.2 + if: ${{ failure() }} + with: + header: unlighthouse + message: | + ⚡️ Lighthouse report failed + + See deployment for any errors