Skip to content

Article Collector

Article Collector #39

name: Article Collector
on:
schedule:
# 매일 오전 8시, 9시 KST (UTC 23시 전날, 0시)
- cron: '0 23 * * *' # 오전 8시 KST
- cron: '0 0 * * *' # 오전 9시 KST
workflow_dispatch:
jobs:
collect:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
cd .github
pip install -r requirements.txt
- name: Collect articles
run: |
cd .github
python scripts/collect_articles.py
- name: Evaluate and filter articles
run: |
cd .github
python scripts/evaluate_articles.py
- name: Create PR for high-score articles
run: |
cd .github
python scripts/create_pr.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}