Skip to content

Launch Events

Launch Events #8

Workflow file for this run

name: Launch Events
on:
workflow_dispatch:
jobs:
generate_event_reminders:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install pandas
python -m pip install pyyaml
- name: Generate event reminder scripts
run: python generate_event_reminders.py
env:
GMAIL_PASSWORD: ${{ secrets.GMAIL_PASSWORD }}
- name: Commit new workflows
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Add event reminder workflows"
file_pattern: ".github/workflows/reminder_*.yml"
branch: main
commit_user_name: github-actions[bot]
commit_user_email: github-actions[bot]@users.noreply.github.com
commit_author: "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"
repository: ${{ github.repository }}
token: ${{ secrets.GITHUB_TOKEN }}