Skip to content

Issue Doomgrad Paper Review #1591

Issue Doomgrad Paper Review

Issue Doomgrad Paper Review #1591

Workflow file for this run

name: Issue Doomgrad Paper Review
on:
workflow_dispatch:
schedule:
# Runs every hour on weekdays (Monday to Friday)
- cron: "0 * * * 1-5"
# Runs every 6 hours on weekends (Saturday and Sunday)
- cron: "0 */6 * * 0,6"
permissions:
contents: write
jobs:
run-python-script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository content
uses: actions/checkout@v2
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Python script
run: python main.py
env:
CLAUDE_KEY: ${{ secrets.CLAUDE_KEY }}
MISTRAL_KEY: ${{ secrets.MISTRAL_KEY }}
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
FAL_KEY: ${{ secrets.FAL_KEY }}
- name: Test commit
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add .
git commit -m "Auto. Make Doomgrad HF Review on $(date +"%d %B")"
- name: Pull latest changes from remote
run: git pull origin main
- name: Push changes back to GitHub
run: git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}