feat: add daily release check workflow

This commit is contained in:
David Soria Parra
2025-01-13 11:23:01 +00:00
parent 26d3dd4760
commit 6d36b5a1ff

View File

@@ -0,0 +1,28 @@
name: Daily Release Check
on:
schedule:
- cron: '0 0 * * *' # Run at midnight UTC daily
workflow_dispatch: # Allow manual triggers
jobs:
check-releases:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Need full history for git log
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install semver PyGithub rich toml click
- name: Run release check
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python scripts/weekly-release.py --dry-run