From b50a45495374a6857c0468eab376c9088a749885 Mon Sep 17 00:00:00 2001 From: Todd King Date: Tue, 17 Aug 2021 15:36:17 -0700 Subject: [PATCH] Improved subject and text in e-mail sent when job is run. --- .github/workflows/validate-errors.yml | 5 +++-- .github/workflows/validate-schedule.yml | 5 +++-- .github/workflows/validate.yml | 5 +++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/validate-errors.yml b/.github/workflows/validate-errors.yml index 0de6d91..43e6469 100644 --- a/.github/workflows/validate-errors.yml +++ b/.github/workflows/validate-errors.yml @@ -90,10 +90,11 @@ jobs: username: ${{ secrets.EMAIL_USERNAME }} password: ${{ secrets.EMAIL_PASSWORD }} # email subject - subject: ${{ steps.date.outputs.date }} ${{ github.job }} job of ${{ github.repository }} has ${{ job.status }} + subject: ${{ steps.date.outputs.date }} ${{ job.status }}: ${{ github.job }} run on ${{ github.repository }} # email body as text body: | - ${{ github.job }} job in workflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }} + Run date: ${{ steps.date.outputs.date }} + ${{ job.status }} of ${{ github.job }} run in workflow ${{ github.workflow }} of ${{ github.repository }} "" For details see attachment. # comma-separated string, send email to diff --git a/.github/workflows/validate-schedule.yml b/.github/workflows/validate-schedule.yml index 10fae39..711db0e 100644 --- a/.github/workflows/validate-schedule.yml +++ b/.github/workflows/validate-schedule.yml @@ -92,10 +92,11 @@ jobs: username: ${{ secrets.EMAIL_USERNAME }} password: ${{ secrets.EMAIL_PASSWORD }} # email subject - subject: ${{ steps.date.outputs.date }} ${{ github.job }} job of ${{ github.repository }} has ${{ job.status }} + subject: ${{ steps.date.outputs.date }} ${{ job.status }}: ${{ github.job }} run on ${{ github.repository }} # email body as text body: | - ${{ github.job }} job in workflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }} + Run date: ${{ steps.date.outputs.date }} + ${{ job.status }} of ${{ github.job }} run in workflow ${{ github.workflow }} of ${{ github.repository }} "" For details see attachment. # comma-separated string, send email to diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index dcf008c..1be00cb 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -90,10 +90,11 @@ jobs: username: ${{ secrets.EMAIL_USERNAME }} password: ${{ secrets.EMAIL_PASSWORD }} # email subject - subject: ${{ steps.date.outputs.date }} ${{ github.job }} job of ${{ github.repository }} has ${{ job.status }} + subject: ${{ steps.date.outputs.date }} ${{ job.status }}: ${{ github.job }} run on ${{ github.repository }} # email body as text body: | - ${{ github.job }} job in workflow ${{ github.workflow }} of ${{ github.repository }} has ${{ job.status }} + Run date: ${{ steps.date.outputs.date }} + ${{ job.status }} of ${{ github.job }} run in workflow ${{ github.workflow }} of ${{ github.repository }} "" For details see attachment. # comma-separated string, send email to