Skip to content

Commit 1a44307

Browse files
fix: pin GitHub Actions to full SHA (CLOUDEVOPS-4942)
1 parent 5db24fe commit 1a44307

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/workflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
name: Build and publish Python 🐍 distributions 📦 to PyPI
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@master
13+
- uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # master
1414
- name: Set up Python 3.9
15-
uses: actions/setup-python@v1
15+
uses: actions/setup-python@0f07f7f756721ebd886c2462646a35f78a8bc4de # v1
1616
with:
1717
python-version: 3.9
1818
- name: Install pypa/build
@@ -30,12 +30,12 @@ jobs:
3030
--outdir dist/
3131
.
3232
# - name: Publish distribution 📦 to Test PyPI
33-
# uses: pypa/gh-action-pypi-publish@master
33+
# uses: pypa/gh-action-pypi-publish@c1b34028248d0c9f7d90fe29fef2122e2276ff6f # master
3434
# with:
3535
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
3636
# repository_url: https://test.pypi.org/legacy/
3737
- name: Publish distribution 📦 to PyPI
3838
if: startsWith(github.ref, 'refs/tags')
39-
uses: pypa/gh-action-pypi-publish@master
39+
uses: pypa/gh-action-pypi-publish@c1b34028248d0c9f7d90fe29fef2122e2276ff6f # master
4040
with:
4141
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)