File tree 5 files changed +340
-296
lines changed
5 files changed +340
-296
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
12
12
permissions :
13
- contents : read
13
+ contents : write
14
14
packages : write
15
15
16
16
steps :
19
19
- name : Configure Docker for multi-arch builds
20
20
uses : docker/setup-qemu-action@v3
21
21
22
+ - name : Set up Docker buildx for multi-arch builds
23
+ uses : docker/setup-buildx-action@v3
24
+
22
25
- name : Log in to the GitHub Container Registry
23
26
uses : docker/login-action@v3
24
27
with :
44
47
poetry build --no-interaction
45
48
46
49
- name : Update release
47
- uses : softprops/action-gh-release@v2.2.0
50
+ uses : softprops/action-gh-release@v2
48
51
with :
49
52
files : |
50
53
dist/*
Original file line number Diff line number Diff line change 40
40
# only run if the other jobs succeed
41
41
needs :
42
42
- tests
43
+ - security
43
44
44
45
permissions :
45
46
contents : write
55
56
uses :
commitizen-tools/[email protected]
56
57
with :
57
58
changelog : true
58
- changelog_increment_filename : " CHANGELOG .md"
59
+ changelog_increment_filename : " changes .md"
59
60
git_redirect_stderr : true
60
61
increment : ${{ inputs.increment }}
61
62
prerelease : ${{ inputs.prerelease }}
66
67
git push origin main --tags
67
68
68
69
- name : Create release
69
- uses : softprops/action-gh-release@v2.2.0
70
+ uses : softprops/action-gh-release@v2
70
71
with :
71
- body_path : " CHANGELOG .md"
72
+ body_path : " changes .md"
72
73
tag_name : " v${{ steps.cz.outputs.version }}"
73
74
74
75
- run : |
Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ repos:
36
36
- id : detect-private-key
37
37
stages : [pre-commit]
38
38
- id : mixed-line-ending
39
- exclude : " (^.idea/|.vscode/|docs/)"
39
+ exclude : " (^.idea/|.vscode/|docs/|CHANGELOG.md )"
40
40
stages : [pre-commit]
41
41
- id : trailing-whitespace
42
- exclude : " (^.idea/|.vscode/|docs/)"
42
+ exclude : " (^.idea/|.vscode/|docs/|CHANGELOG.md )"
43
43
stages : [pre-commit]
44
44
- id : end-of-file-fixer
45
- exclude : " (^.idea/|.vscode/|docs/)"
45
+ exclude : " (^.idea/|.vscode/|docs/|CHANGELOG.md )"
46
46
stages : [pre-commit]
47
47
- id : no-commit-to-branch
48
48
args : [--branch, main]
93
93
- pep8-naming
94
94
95
95
- repo : https://github.com/python-poetry/poetry
96
- rev : 1.8.0
96
+ rev : 2.0.1
97
97
hooks :
98
98
- id : poetry-check
99
99
stages : [pre-commit]
You can’t perform that action at this time.
0 commit comments