File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 4
4
release :
5
5
types :
6
6
- published
7
+ workflow_dispatch :
7
8
8
9
jobs :
9
10
pypi-publish :
10
11
name : PyPI
11
12
if : github.repository_owner == 'juftin'
12
13
runs-on : ubuntu-latest
14
+ environment :
15
+ name : pypi
16
+ url : https://pypi.org/p/lunchable
17
+ permissions :
18
+ id-token : write
13
19
steps :
14
20
- name : Check out the repository
15
21
uses : actions/checkout@v4
28
34
run : |
29
35
hatch build
30
36
- name : Publish package on PyPI
31
- uses : pypa/gh-action-pypi-publish@v1.8.11
32
- with :
33
- user : __token__
34
- password : ${{ secrets.PYPI_TOKEN }}
37
+ uses : pypa/gh-action-pypi-publish@release/v1
35
38
36
39
docker-hub-publish :
37
40
name : docker-hub
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ fail_fast: false
3
3
4
4
repos :
5
5
- repo : https://github.com/pre-commit/pre-commit-hooks
6
- rev : v4.4 .0
6
+ rev : v4.6 .0
7
7
hooks :
8
8
- id : trailing-whitespace
9
9
- id : end-of-file-fixer
14
14
- id : mixed-line-ending
15
15
16
16
- repo : https://github.com/macisamuele/language-formatters-pre-commit-hooks
17
- rev : v2.8 .0
17
+ rev : v2.13 .0
18
18
hooks :
19
19
- id : pretty-format-toml
20
20
args : [--autofix]
You can’t perform that action at this time.
0 commit comments