Skip to content

Commit c518991

Browse files
committed
Fix zizmor findings
1 parent db6e611 commit c518991

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@v2
14+
with:
15+
persist-credentials: false
1416

1517
- name: Set up Python
1618
uses: actions/setup-python@v2
@@ -36,11 +38,8 @@ jobs:
3638
- name: Publish distribution package to Test PyPI
3739
uses: pypa/gh-action-pypi-publish@master
3840
with:
39-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
4041
repository_url: https://test.pypi.org/legacy/
4142

4243
- name: Publish distribution package to PyPI
4344
if: startsWith(github.ref, 'refs/tags')
4445
uses: pypa/gh-action-pypi-publish@master
45-
with:
46-
password: ${{ secrets.PYPI_API_TOKEN }}

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v2
26+
with:
27+
persist-credentials: false
2628

2729
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
2830
uses: actions/setup-python@v2

0 commit comments

Comments
 (0)