From 519a059d5c59819cc08746c8f1d28c21c64d8988 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sat, 21 Mar 2020 08:41:25 -0500 Subject: [PATCH 01/10] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index b1e1ef9..ba47712 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -23,7 +23,7 @@ jobs: # Authenticate as this user to SMTP server username: quadmx08 # Authenticate with this password to SMTP server - password: ${{ GMAIL_PASS }} + password: ${{ secrets.GMAIL_PASS }} # Subject of mail message subject: Your a star ✨ # Body of mail message (might be a filename to read from) From f0e08b461a6133bde158e1cd016957816fc4fc92 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sat, 21 Mar 2020 08:45:14 -0500 Subject: [PATCH 02/10] Update blank.yml --- .github/workflows/blank.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index ba47712..bddd9d7 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -16,19 +16,11 @@ jobs: - 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 + server_port: 465 username: quadmx08 - # Authenticate with this password to SMTP server password: ${{ secrets.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 From 2504675371851c55eeac64067908f07038102d53 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sat, 21 Mar 2020 08:50:32 -0500 Subject: [PATCH 03/10] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index bddd9d7..60a3d2f 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -22,5 +22,5 @@ jobs: password: ${{ secrets.GMAIL_PASS }} subject: Your a star ✨ body: Someone just starred your mail-on-star repo - to: mail-on-star@waylonwalker.com + to: quadmx08@gmail.com from: quadmx08@gmail.com From d5ff3af2dc95471c25351ebc2c44a6e6a727c157 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sat, 21 Mar 2020 08:55:03 -0500 Subject: [PATCH 04/10] Update blank.yml --- .github/workflows/blank.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 60a3d2f..1aa93c7 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -6,14 +6,14 @@ on: # 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: + # 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 + - name: ✨ Send email, you star uses: dawidd6/action-send-mail@v1.3.0 with: server_address: smtp.gmail.com @@ -21,6 +21,6 @@ jobs: username: quadmx08 password: ${{ secrets.GMAIL_PASS }} subject: Your a star ✨ - body: Someone just starred your mail-on-star repo - to: quadmx08@gmail.com - from: quadmx08@gmail.com + 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 }} From 25c759c75e9bcf64f6c537ec9da84d2cc4930cf4 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sat, 21 Mar 2020 08:56:40 -0500 Subject: [PATCH 05/10] Update blank.yml --- .github/workflows/blank.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 1aa93c7..4b14bf9 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -13,14 +13,17 @@ jobs: # 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 }} + - name: log github + run: | + echo ${{ github }} + - 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 + to: ${{ secrets.GMAIL_ADDRESS }} + from: ${{ secrets.GMAIL_ADDRESS }} From d9dcd7204de1ab8f318c13be914c1cb91e406e94 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sat, 21 Mar 2020 09:00:13 -0500 Subject: [PATCH 06/10] Update blank.yml --- .github/workflows/blank.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 4b14bf9..247e812 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -13,9 +13,6 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: log github - run: | - echo ${{ github }} - name: ✨ Send email, you star uses: dawidd6/action-send-mail@v1.3.0 with: @@ -24,6 +21,6 @@ jobs: 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 + body: ${{ github.actor }} just starred your mail-on-star repo!!! ${{ github.repository }} ${{ toJson(github) }} to: ${{ secrets.GMAIL_ADDRESS }} from: ${{ secrets.GMAIL_ADDRESS }} From b4e8f8e53de4074e0cdb7147dff26a19246d597d Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sat, 21 Mar 2020 09:03:39 -0500 Subject: [PATCH 07/10] Update and rename blank.yml to mail-on-star.yml --- .github/workflows/{blank.yml => mail-on-star.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{blank.yml => mail-on-star.yml} (93%) diff --git a/.github/workflows/blank.yml b/.github/workflows/mail-on-star.yml similarity index 93% rename from .github/workflows/blank.yml rename to .github/workflows/mail-on-star.yml index 247e812..8a201c9 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/mail-on-star.yml @@ -21,6 +21,6 @@ jobs: username: quadmx08 password: ${{ secrets.GMAIL_PASS }} subject: Your a star ✨ - body: ${{ github.actor }} just starred your mail-on-star repo!!! ${{ github.repository }} ${{ toJson(github) }} + body: ${{ github.actor }} just starred your mail-on-star repo!!! ${{ github.repository }} to: ${{ secrets.GMAIL_ADDRESS }} from: ${{ secrets.GMAIL_ADDRESS }} From b12dee5f6ae7ee1eeced1086aed9f9cd71120627 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sun, 22 Mar 2020 10:01:22 -0500 Subject: [PATCH 08/10] Update mail-on-star.yml --- .github/workflows/mail-on-star.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/mail-on-star.yml b/.github/workflows/mail-on-star.yml index 8a201c9..2ab4ea1 100644 --- a/.github/workflows/mail-on-star.yml +++ b/.github/workflows/mail-on-star.yml @@ -14,6 +14,7 @@ jobs: # 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 From 104c81762ac36266a1a5b92a422f6f6fbca6bb50 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sun, 22 Mar 2020 10:02:17 -0500 Subject: [PATCH 09/10] Update mail-on-star.yml --- .github/workflows/mail-on-star.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mail-on-star.yml b/.github/workflows/mail-on-star.yml index 2ab4ea1..5aff80e 100644 --- a/.github/workflows/mail-on-star.yml +++ b/.github/workflows/mail-on-star.yml @@ -14,7 +14,7 @@ jobs: # 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 + if: github.actor = 'WaylonWalker' uses: dawidd6/action-send-mail@v1.3.0 with: server_address: smtp.gmail.com From 5c03493e305dea91f9941f97520928feca916228 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Sun, 22 Mar 2020 10:02:39 -0500 Subject: [PATCH 10/10] Update mail-on-star.yml --- .github/workflows/mail-on-star.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mail-on-star.yml b/.github/workflows/mail-on-star.yml index 5aff80e..d2efb6f 100644 --- a/.github/workflows/mail-on-star.yml +++ b/.github/workflows/mail-on-star.yml @@ -14,7 +14,7 @@ jobs: # 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' + if: github.actor == 'WaylonWalker' uses: dawidd6/action-send-mail@v1.3.0 with: server_address: smtp.gmail.com