From 1260b2dc77bd87886a40d991a2459c61f9f35f82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Mon, 13 Nov 2023 15:34:58 +0100 Subject: [PATCH] v0.0.318 add failure mail to testx.yml --- .gitea/workflows/tests.yml | 21 ++++++++++++++++++++- goextVersion.go | 4 ++-- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index a69d4de..4ed45cb 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -6,7 +6,12 @@ name: Build Docker and Deploy run-name: Build & Deploy ${{ gitea.ref }} on ${{ gitea.actor }} -on: [push] +on: + push: + branches: + - '*' + - '**' + jobs: run_tests: @@ -34,3 +39,17 @@ jobs: - name: Run tests run: cd "${{ gitea.workspace }}" && make test + - name: Send failure mail + if: failure() + uses: dawidd6/action-send-mail@v3 + with: + server_address: smtp.fastmail.com + server_port: 465 + secure: true + username: ${{secrets.MAIL_USERNAME}} + password: ${{secrets.MAIL_PASSWORD}} + subject: Pipeline on '${{ gitea.repository }}' failed + to: ${{ steps.commiter_info.outputs.MAIL }} + from: Gitea Actions + body: "Go to https://gogs.blackforestbytes.com/${{ gitea.repository }}/actions" + diff --git a/goextVersion.go b/goextVersion.go index 7937ec7..4fceb0f 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.317" +const GoextVersion = "0.0.318" -const GoextVersionTimestamp = "2023-11-13T15:28:37+0100" +const GoextVersionTimestamp = "2023-11-13T15:34:58+0100"