Skip to content

Commit 6d36b5a

Browse files
committed
feat: add daily release check workflow
1 parent 26d3dd4 commit 6d36b5a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Daily Release Check
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *' # Run at midnight UTC daily
6+
workflow_dispatch: # Allow manual triggers
7+
8+
jobs:
9+
check-releases:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0 # Need full history for git log
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.11'
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install semver PyGithub rich toml click
24+
25+
- name: Run release check
26+
env:
27+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
run: python scripts/weekly-release.py --dry-run

0 commit comments

Comments
 (0)