Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): updating poetry version and cleaning up docker #146

Merged
merged 1 commit into from
Jan 12, 2025
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
7 changes: 5 additions & 2 deletions .github/workflows/release-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: read
contents: write
packages: write

steps:
Expand All @@ -19,6 +19,9 @@ jobs:
- name: Configure Docker for multi-arch builds
uses: docker/setup-qemu-action@v3

- name: Set up Docker buildx for multi-arch builds
uses: docker/setup-buildx-action@v3

- name: Log in to the GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -44,7 +47,7 @@ jobs:
poetry build --no-interaction

- name: Update release
uses: softprops/action-gh-release@v2.2.0
uses: softprops/action-gh-release@v2
with:
files: |
dist/*
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release-create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
# only run if the other jobs succeed
needs:
- tests
- security

permissions:
contents: write
Expand All @@ -55,7 +56,7 @@ jobs:
uses: commitizen-tools/[email protected]
with:
changelog: true
changelog_increment_filename: "CHANGELOG.md"
changelog_increment_filename: "changes.md"
git_redirect_stderr: true
increment: ${{ inputs.increment }}
prerelease: ${{ inputs.prerelease }}
Expand All @@ -66,9 +67,9 @@ jobs:
git push origin main --tags

- name: Create release
uses: softprops/action-gh-release@v2.2.0
uses: softprops/action-gh-release@v2
with:
body_path: "CHANGELOG.md"
body_path: "changes.md"
tag_name: "v${{ steps.cz.outputs.version }}"

- run: |
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ repos:
- id: detect-private-key
stages: [pre-commit]
- id: mixed-line-ending
exclude: "(^.idea/|.vscode/|docs/)"
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
stages: [pre-commit]
- id: trailing-whitespace
exclude: "(^.idea/|.vscode/|docs/)"
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
stages: [pre-commit]
- id: end-of-file-fixer
exclude: "(^.idea/|.vscode/|docs/)"
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
stages: [pre-commit]
- id: no-commit-to-branch
args: [--branch, main]
Expand Down Expand Up @@ -93,7 +93,7 @@ repos:
- pep8-naming

- repo: https://github.com/python-poetry/poetry
rev: 1.8.0
rev: 2.0.1
hooks:
- id: poetry-check
stages: [pre-commit]
Expand Down
Loading
Loading