From 5cfa832d052ed9bc3c0d56cee44393a59b202056 Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 24 Dec 2024 16:48:34 +0100 Subject: [PATCH 1/2] dont fail build if notification fails --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f5365d7df..2eef92dd0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -142,6 +142,7 @@ jobs: steps: - name: Notification uses: gscept/action-telegram@v1.1.1 + continue-on-error: true with: botToken: ${{ secrets.BotToken }} chatId: ${{ secrets.ChatID }} From 6699dd7c68fc2a6448827b7fc1d8595eefe79aa3 Mon Sep 17 00:00:00 2001 From: Johannes Date: Tue, 24 Dec 2024 17:05:47 +0100 Subject: [PATCH 2/2] Only run notify on internal repo --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2eef92dd0..e7f305921 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -138,7 +138,7 @@ jobs: runs-on: ubuntu-latest needs: [build] name: Notify - if: cancelled() == false + if: cancelled() == false && github.repository == 'gscept/nebula' steps: - name: Notification uses: gscept/action-telegram@v1.1.1