Skip to content

Commit 7a68424

Browse files
Add daily version bump workflow using GitHub Actions (#317)
1 parent b63b44e commit 7a68424

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Daily Version Bump
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *" # Every day at midnight UTC
6+
workflow_dispatch:
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0 # Required for accessing git tags
16+
17+
- name: Install uv
18+
run: |
19+
curl -LsSf https://astral.sh/uv/install.sh | sh
20+
21+
- name: Install python-semantic-release
22+
run: uv pip install python-semantic-release
23+
24+
- name: Run semantic-release (version bump if needed)
25+
run: semantic-release version
26+
env:
27+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)