Skip to content

Commit 3e1dda4

Browse files
authored
Update pypi-publish-on-release.yml
1 parent bc02148 commit 3e1dda4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pypi-publish-on-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,15 @@ on:
88
jobs:
99
call-test-lint:
1010
uses: ./.github/workflows/test-lint.yml
11+
permissions:
12+
contents: read
1113
with:
1214
ref: ${{ github.event.release.target_commitish }}
1315

1416
build:
1517
name: Build distribution 📦
18+
permissions:
19+
contents: read
1620
needs:
1721
- call-test-lint
1822
runs-on: ubuntu-latest
@@ -75,4 +79,4 @@ jobs:
7579
name: python-package-distributions
7680
path: dist/
7781
- name: Publish distribution 📦 to PyPI
78-
uses: pypa/gh-action-pypi-publish@release/v1
82+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)