Update and rename blank.yml to mail-on-star.yml

This commit is contained in:
Waylon Walker 2020-03-21 09:03:39 -05:00 committed by GitHub
parent d9dcd7204d
commit b4e8f8e53d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,26 +0,0 @@
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: ${{ github.actor }} just starred your mail-on-star repo!!! ${{ github.repository }} ${{ toJson(github) }}
to: ${{ secrets.GMAIL_ADDRESS }}
from: ${{ secrets.GMAIL_ADDRESS }}