From e8c3dc5ec9c63dc49d9f1d1d8db85ca38abd9e30 Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Mon, 12 Jun 2023 01:52:37 +0200 Subject: [PATCH 1/2] refactor: Add default reviewer to Dependabot --- .github/dependabot.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 406baea..1323e41 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -4,7 +4,11 @@ updates: directory: "/" schedule: interval: "daily" + reviewers: + - "bartvdbraak" - package-ecosystem: "github-actions" directory: "/" schedule: interval: "weekly" + reviewers: + - "bartvdbraak" 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 2/2] 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