Skip to content

Commit

Permalink
feat: update release workflow to run on main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ofahmy143 committed Oct 1, 2024
1 parent 6ba0802 commit fb468de
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 58 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ jobs:
uses: DelfinaCare/rls/.github/workflows/quality.yml@main

release:
needs: quality-test
name: Release
uses: DelfinaCare/rls/.github/workflows/release.yml@main
2 changes: 1 addition & 1 deletion .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
- name: Install Dependencies
run: poetry install
- name: Run Mypy
run: poetry run mypy src --explicit-package-bases
run: poetry run mypy .
55 changes: 4 additions & 51 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,16 @@ readme = "README.md"
python = ">=3.11"
annotated-types = "0.7.0"
anyio = "4.4.0"
fastapi = "0.114.2"
greenlet = "3.1.0"
idna = "3.10"
psycopg2 = "2.9.9"
pydantic = "2.9.1"
pydantic-core = "2.23.3"
sniffio = "1.3.1"
sqlalchemy = "2.0.34"
starlette = "0.38.5"
typing-extensions = "4.12.2"
asyncpg = "^0.29.0"
once-py = "^0.0.6"
alembic = "^1.13.3"


[tool.poetry.group.dev.dependencies]
Expand All @@ -42,7 +40,7 @@ alembic = "^1.13.3"


[tool.semantic_release]
branch= "release"
branch= "main"
assets = []
commit_message = "{version}\n\nNew Release"
commit_parser = "angular"
Expand All @@ -68,7 +66,7 @@ build_command = "pip install poetry && poetry build"


[tool.semantic_release.branches.release-action]
match = "release"
match = "main"


[tool.semantic_release.commit_parser_options]
Expand All @@ -95,7 +93,7 @@ version = "0.3.0"
authors = [
{ name = "DelfinaCare", email = "[email protected]" }
]
description = "fastapi sqlalchemy rls integration package"
description = "python sqlalchemy rls integration package for psql"
readme = "README.md"
requires-python = ">=3.11"
classifiers = [
Expand Down

0 comments on commit fb468de

Please sign in to comment.