26 lines
865 B
YAML
26 lines
865 B
YAML
name: Mail on Star
|
|
|
|
on:
|
|
watch:
|
|
types: [ started ]
|
|
|
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
jobs:
|
|
# This workflow contains a single job called "email"
|
|
email:
|
|
# The type of runner that the job will run on
|
|
runs-on: ubuntu-latest
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
steps:
|
|
- name: ✨ Send email, you star
|
|
uses: dawidd6/action-send-mail@v1.3.0
|
|
with:
|
|
server_address: smtp.gmail.com
|
|
server_port: 465
|
|
username: quadmx08
|
|
password: ${{ secrets.GMAIL_PASS }}
|
|
subject: Your a star ✨
|
|
body: Someone just starred your mail-on-star repo!!! https://github.com/WaylonWalker/mail-on-star/edit/master ${{ github }}
|
|
to: ${{ secrets.GMAIL_ADDRESS }}
|
|
from: ${{ secrets.GMAIL_ADDRESS }}
|