Compare commits

..

10 commits

Author SHA1 Message Date
Waylon Walker
5c03493e30
Update mail-on-star.yml 2020-03-22 10:02:39 -05:00
Waylon Walker
104c81762a
Update mail-on-star.yml 2020-03-22 10:02:17 -05:00
Waylon Walker
b12dee5f6a
Update mail-on-star.yml 2020-03-22 10:01:22 -05:00
Waylon Walker
b4e8f8e53d
Update and rename blank.yml to mail-on-star.yml 2020-03-21 09:03:39 -05:00
Waylon Walker
d9dcd7204d
Update blank.yml 2020-03-21 09:00:13 -05:00
Waylon Walker
25c759c75e
Update blank.yml 2020-03-21 08:56:40 -05:00
Waylon Walker
d5ff3af2dc
Update blank.yml 2020-03-21 08:55:03 -05:00
Waylon Walker
2504675371
Update blank.yml 2020-03-21 08:50:32 -05:00
Waylon Walker
f0e08b461a
Update blank.yml 2020-03-21 08:45:14 -05:00
Waylon Walker
519a059d5c
Update blank.yml 2020-03-21 08:41:25 -05:00
2 changed files with 27 additions and 34 deletions

View file

@ -1,34 +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 "build"
build:
# 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
uses: dawidd6/action-send-mail@v1.3.0
with:
# SMTP server address
server_address: smtp.gmail.com
# SMTP server port
server_port: 467
# Authenticate as this user to SMTP server
username: quadmx08
# Authenticate with this password to SMTP server
password: ${{ GMAIL_PASS }}
# Subject of mail message
subject: Your a star ✨
# Body of mail message (might be a filename to read from)
body: Someone just starred your mail-on-star repo
# Recipients mail addresses (separated with comma)
to: mail-on-star@waylonwalker.com
# Full name of mail sender
from: quadmx08@gmail.com

27
.github/workflows/mail-on-star.yml vendored Normal file
View file

@ -0,0 +1,27 @@
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
if: github.actor == 'WaylonWalker'
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 }}
to: ${{ secrets.GMAIL_ADDRESS }}
from: ${{ secrets.GMAIL_ADDRESS }}