Skip to content

Commit

Permalink
Add event reminder workflows and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 18, 2024
1 parent 6994c56 commit cf18ad8
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/reminder_Game_Night.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Game_Night.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
2 changes: 2 additions & 0 deletions .github/workflows/reminder_Hike_to_Gile_Mountain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Hike_to_Gile_Mountain.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
2 changes: 2 additions & 0 deletions .github/workflows/reminder_Hikes_with_The_Chair.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Hikes_with_The_Chair.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Mid-term_Wine_and_Cheese_Gathering.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
2 changes: 2 additions & 0 deletions .github/workflows/reminder_Pumpkin_Carving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Pumpkin_Carving.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
2 changes: 2 additions & 0 deletions .github/workflows/reminder_Research_Extravaganza.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Research_Extravaganza.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
2 changes: 2 additions & 0 deletions .github/workflows/reminder_Weekly_Bagel_Brunch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Weekly_Bagel_Brunch.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
2 changes: 2 additions & 0 deletions .github/workflows/reminder_Weekly_Wednesday_Woccoms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Weekly_Wednesday_Woccoms.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
2 changes: 2 additions & 0 deletions .github/workflows/reminder_Winter_Holiday_Party.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ jobs:
run: pip install pandas markdown
- name: Run email script
run: python scripts/send_email_Winter_Holiday_Party.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
3 changes: 2 additions & 1 deletion scripts/send_email_Game_Night.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()
3 changes: 2 additions & 1 deletion scripts/send_email_Hike_to_Gile_Mountain.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()
3 changes: 2 additions & 1 deletion scripts/send_email_Hikes_with_The_Chair.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()
3 changes: 2 additions & 1 deletion scripts/send_email_Mid-term_Wine_and_Cheese_Gathering.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()
3 changes: 2 additions & 1 deletion scripts/send_email_Pumpkin_Carving.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()
3 changes: 2 additions & 1 deletion scripts/send_email_Research_Extravaganza.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()
3 changes: 2 additions & 1 deletion scripts/send_email_Weekly_Bagel_Brunch.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()
3 changes: 2 additions & 1 deletion scripts/send_email_Weekly_Wednesday_Woccoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()
3 changes: 2 additions & 1 deletion scripts/send_email_Winter_Holiday_Party.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import markdown
import os

# Load email addresses
emails_df = pd.read_csv('email_addresses.csv')
Expand Down Expand Up @@ -41,7 +42,7 @@
# Send email
server = smtplib.SMTP('smtp.gmail.com', 587)
server.starttls()
server.login(sender_email, "${ secrets.GMAIL_PASSWORD }")
server.login(sender_email, os.getenv("GMAIL_PASSWORD"))
text = msg.as_string()
server.sendmail(sender_email, admin_emails + organizer_emails, text)
server.quit()

0 comments on commit cf18ad8

Please sign in to comment.