Skip to content

Activity Summary

Activity Summary #2

Workflow file for this run

name: Activity Summary
on:
# schedule:
# - cron: "30 7 * * 0"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
ref: main
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.11
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r github-notify-ml/requirements.txt
- name: create instance
run: |
mkdir github-notify-ml/instance
cp config.json mls.json github-notify-ml/instance/
- name: run github-notify-ml
env:
GH_OAUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EMAIL_FROM: ${{ secrets.EMAIL_FROM }}
SMTP_HOST: ${{ secrets.SMTP_HOST }}
SMTP_PORT: ${{ secrets.SMTP_PORT }}
SMTP_USERNAME: ${{ secrets.SMTP_USERNAME }}
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
SMTP_SSL: TRUE
run: |
cd github-notify-ml
python index.py Sunday