Skip to content

Commit

Permalink
ci: semantic versioning github actions are enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
oyurekten committed Jun 20, 2024
1 parent 505c34b commit cd7e027
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ jobs:
- name: Test with pytest
run: |
poetry run pytest
# - name: Semantic release
# run: |
# GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" poetry run semantic-release version
- name: Semantic release
run: |
GH_TOKEN="${{ secrets.GITHUB_TOKEN }}" poetry run semantic-release version
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"

[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test"]
minor_tags = ["feat"]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "style", "refactor", "test", "CLI", "API"]
minor_tags = ["feat", "API", "CLI"]
patch_tags = ["fix", "perf"]
default_bump_level = 0

Expand Down

0 comments on commit cd7e027

Please sign in to comment.