Skip to content

Update main.yml

Update main.yml #4

Workflow file for this run

name: Activity Summary
on: push
schedule:

Check failure on line 4 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
- cron: '30 7 * * 0'
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.7
- 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 }}
SMTP_HOST: smtp.fastmail.com
SMTP_USERNAME: [email protected]
SMTP_PASSWORD: ${{ secrets.SMTP_PASSWORD }}
SMTP_SSL: TRUE
run: |
cd github-notify-ml
python index.py Monday