27 lines
852 B
YAML
27 lines
852 B
YAML
name: CI Email Notification
|
|
on:
|
|
check_suite:
|
|
types: [completed]
|
|
jobs:
|
|
notify:
|
|
if: github.repository == 'zeek/binpac'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Show the event
|
|
run: cat "$GITHUB_EVENT_PATH" || true
|
|
|
|
- name: Send CI Email Notification
|
|
uses: zeek/ci-email-action@master
|
|
env:
|
|
CI_APP_NAME: "Cirrus CI"
|
|
BRANCH_REGEX: "master|release/.*"
|
|
SKIP_CONCLUSIONS: 'cancelled,neutral,skipped'
|
|
SMTP_HOST: ${{ secrets.SMTP_HOST }}
|
|
SMTP_PORT: ${{ secrets.SMTP_PORT }}
|
|
SMTP_USER: ${{ secrets.SMTP_USER }}
|
|
SMTP_PASS: ${{ secrets.SMTP_PASS }}
|
|
MAIL_FROM: ${{ secrets.MAIL_FROM }}
|
|
MAIL_TO: ${{ secrets.MAIL_TO }}
|
|
MAIL_REPLY_TO: ${{ secrets.MAIL_REPLY_TO }}
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|