feat: add daily release check workflow
This commit is contained in:
parent
26d3dd4760
commit
6d36b5a1ff
1 changed files with 28 additions and 0 deletions
28
.github/workflows/daily-release-check.yml
vendored
Normal file
28
.github/workflows/daily-release-check.yml
vendored
Normal 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
|
||||||
Loading…
Reference in a new issue