Skip to content

YouTube monitor agent #9

YouTube monitor agent

YouTube monitor agent #9

Workflow file for this run

name: YouTube monitor agent
on:
schedule:
- cron: "0,30 */1 * * *"
workflow_dispatch: {}
concurrency:
group: yt_channel_monitor
cancel-in-progress: true
jobs:
run:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "pip"
- name: Install dependencies
run: pip install -q -r requirements.txt
- name: Run YouTube monitor agent
env:
TELEGRAM_BOT_TOKEN_02: ${{ secrets.TELEGRAM_BOT_TOKEN_02 }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GEMINI_MODEL: ${{ vars.GEMINI_MODEL }}
run: python src/yt_monitor.py