File tree 2 files changed +30
-4
lines changed
2 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 29
29
name : Checkout the repository
30
30
with :
31
31
fetch-depth : 0
32
- token : ${{ secrets.PAT }}
33
32
34
33
- name : Setup Python and Git
35
34
uses : ./.github/actions/setup-python-and-git
91
90
with :
92
91
tag-name : ${{ env.TAG_NAME }}
93
92
93
+ release :
94
+ if : ${{ env.PACKAGE == 'true' }}
95
+ permissions :
96
+ id-token : write
97
+ pull-requests : read
98
+ contents : write
99
+ steps :
100
+ - name : Download packages built by build-and-inspect-python-package
101
+ uses : actions/download-artifact@v4
102
+ with :
103
+ name : Packages
104
+ path : dist
105
+
106
+ - name : Download release notes
107
+ uses : actions/download-artifact@v4
108
+ with :
109
+ name : release-notes
110
+
111
+ - name : Create a GitHub release
112
+ uses : softprops/action-gh-release@v1
113
+ with :
114
+ files : dist/*
115
+ tag_name : " ${{ env.TAG_NAME }}"
116
+ body_path : release-notes.md
117
+
118
+ - name : Upload package to PyPI
119
+ uses : pypa/gh-action-pypi-publish@release/v1
120
+
94
121
- name : Create a GitHub release
95
- if : ${{ env.PACKAGE == 'true' }}
96
122
uses : ./.github/actions/release
97
123
with :
98
124
tag-name : ${{ env.TAG_NAME }}
Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
3
# Ruff version.
4
- rev : ' v0.8.2 '
4
+ rev : ' v0.8.3 '
5
5
hooks :
6
6
- id : ruff
7
7
args : [--fix, --exit-non-zero-on-fix]
60
60
test.*
61
61
)$
62
62
- repo : https://github.com/jsh9/pydoclint
63
- rev : 0.5.10
63
+ rev : 0.5.12
64
64
hooks :
65
65
- id : pydoclint
66
66
args :
You can’t perform that action at this time.
0 commit comments