Skip to content

Star Notify

Star Notify #3

name: Star Notify
on:
watch:
types: [ started ]
jobs:
Notify:
runs-on: ubuntu-latest
steps:
- name: Download Script
run: |
wget https://raw.githubusercontent.com/foyoux/started-notify/main/.github/workflows/started_notify.py#${{github.run_id}}
- name: Send Email
env:
SMTP_HOST: ${{ secrets.NOTIFY_SMTP_HOST }}
SMTP_PORT: ${{ secrets.NOTIFY_SMTP_PORT }}
SMTP_USER: ${{ secrets.NOTIFY_SMTP_USER }}
SMTP_PASSWORD: ${{ secrets.NOTIFY_SMTP_PASSWORD }}
STARGAZER_LOGIN: ${{ github.actor }}
run: |
python started_notify.py ${{github.token}} "${{secrets.NOTIFY_EMAIL}}"