Skip to content

Update cert-monitor.yml #33

Update cert-monitor.yml

Update cert-monitor.yml #33

Workflow file for this run

name: Certification Monitor

Check failure on line 1 in .github/workflows/cert-monitor.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/cert-monitor.yml

Invalid workflow file

(Line: 3, Col: 4): Unexpected value ''
on:
# Schedule to run every Monday at 9 AM UTC
# schedule:
# - cron: '0 9 * * 1'
# Allow manual trigger
# workflow_dispatch:
jobs:
monitor:
runs-on: ubuntu-latest
steps:
- name: πŸ“₯ Checkout code
uses: actions/checkout@v4
- name: 🐍 Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- name: πŸ“¦ Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: πŸ” Run certification monitor
env:
EMAIL_PASSWORD: ${{ secrets.EMAIL_PASSWORD }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
run: |
python main.py
- name: πŸ“Š Upload logs (if any)
if: always()
uses: actions/upload-artifact@v4
with:
name: monitor-logs
path: |
*.log
retention-days: 30
if-no-files-found: ignore