Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ updates:
target-branch: "main"
open-pull-requests-limit: 10
commit-message:
prefix: "deps"
prefix: "bump"
include: "scope"

# Maintain dependencies for GitHub Actions
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: CI Checks

on:
push:
branches: [ main ] # Or your default branch
branches: ["**"]
pull_request:
branches: [ main ] # Or your default branch
branches: ["**"]

jobs:
commit-check:
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Publish to PyPI

on:
push:
tags:
- 'v*'

jobs:
publish:
name: Publish to PyPI
runs-on: ubuntu-latest
needs: [commit-check, python-checks, test]
steps:
- uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'

- name: Set up Poetry
uses: abatilo/actions-poetry@v4.0.0
with:
poetry-version: '1.8.3'

- name: Install dependencies
run: poetry install --no-root

- name: Build package
run: poetry build

- name: Publish to PyPI
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: poetry publish --username __token__ --password "$POETRY_PYPI_TOKEN_PYPI"

- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: ${{ github.ref_name }}
body_path: CHANGELOG.md
draft: false
prerelease: false
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
## 0.2.0 (2025-05-15)

### ✨ Features

- **initial**: first commit

### 💚👷 CI & Build

- **PyPi**: Add first release to PyPI

### 📌➕⬇️➖⬆️ Dependencies

- **litellm**: litellm v1.69.2

### 📝💡 Documentation

- **README.md**: update readme and url
Loading
Loading