diff --git a/.github/workflows/ci_failure_email.md b/.github/workflows/ci_failure_email.md new file mode 100644 index 0000000..887c650 --- /dev/null +++ b/.github/workflows/ci_failure_email.md @@ -0,0 +1,3 @@ +CI workflow ${{ github.workflow }} failed! + +The failed job can be found in [here](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) \ No newline at end of file diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 9b1559b..292eb0b 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -34,9 +34,8 @@ jobs: server_port: 465 username: ${{secrets.CI_MAIL_USERNAME}} password: ${{secrets.CI_MAIL_PASSWORD}} - to: wikidata-ci-status@wikimedia.de + to: leszek.manicki@wikimedia.de from: ${{ github.repository }} CI subject: CI job failed for ${{ github.repository }} - html_body: | - CI workflow ${{ github.workflow }} failed! - The failed job can be found in here + convert_markdown: true + html_body: file:///home/runner/work/Diff/Diff/.github/workflows/ci_failure_email.md