Skip to content

Commit fc29fa2

Browse files
authored
Merge pull request #146 from paullockaby/minor-updates
fix(deps): updating poetry version and cleaning up docker
2 parents 20056e7 + 5ae01ec commit fc29fa2

File tree

5 files changed

+340
-296
lines changed

5 files changed

+340
-296
lines changed

.github/workflows/release-build.yaml

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
permissions:
13-
contents: read
13+
contents: write
1414
packages: write
1515

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

22+
- name: Set up Docker buildx for multi-arch builds
23+
uses: docker/setup-buildx-action@v3
24+
2225
- name: Log in to the GitHub Container Registry
2326
uses: docker/login-action@v3
2427
with:
@@ -44,7 +47,7 @@ jobs:
4447
poetry build --no-interaction
4548
4649
- name: Update release
47-
uses: softprops/action-gh-release@v2.2.0
50+
uses: softprops/action-gh-release@v2
4851
with:
4952
files: |
5053
dist/*

.github/workflows/release-create.yaml

+4-3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
# only run if the other jobs succeed
4141
needs:
4242
- tests
43+
- security
4344

4445
permissions:
4546
contents: write
@@ -55,7 +56,7 @@ jobs:
5556
uses: commitizen-tools/[email protected]
5657
with:
5758
changelog: true
58-
changelog_increment_filename: "CHANGELOG.md"
59+
changelog_increment_filename: "changes.md"
5960
git_redirect_stderr: true
6061
increment: ${{ inputs.increment }}
6162
prerelease: ${{ inputs.prerelease }}
@@ -66,9 +67,9 @@ jobs:
6667
git push origin main --tags
6768
6869
- name: Create release
69-
uses: softprops/action-gh-release@v2.2.0
70+
uses: softprops/action-gh-release@v2
7071
with:
71-
body_path: "CHANGELOG.md"
72+
body_path: "changes.md"
7273
tag_name: "v${{ steps.cz.outputs.version }}"
7374

7475
- run: |

.pre-commit-config.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ repos:
3636
- id: detect-private-key
3737
stages: [pre-commit]
3838
- id: mixed-line-ending
39-
exclude: "(^.idea/|.vscode/|docs/)"
39+
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
4040
stages: [pre-commit]
4141
- id: trailing-whitespace
42-
exclude: "(^.idea/|.vscode/|docs/)"
42+
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
4343
stages: [pre-commit]
4444
- id: end-of-file-fixer
45-
exclude: "(^.idea/|.vscode/|docs/)"
45+
exclude: "(^.idea/|.vscode/|docs/|CHANGELOG.md)"
4646
stages: [pre-commit]
4747
- id: no-commit-to-branch
4848
args: [--branch, main]
@@ -93,7 +93,7 @@ repos:
9393
- pep8-naming
9494

9595
- repo: https://github.com/python-poetry/poetry
96-
rev: 1.8.0
96+
rev: 2.0.1
9797
hooks:
9898
- id: poetry-check
9999
stages: [pre-commit]

0 commit comments

Comments
 (0)