Skip to content

Commit 33840a6

Browse files
Replace versions with commit hashes in actions
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
1 parent ae254b3 commit 33840a6

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/docs-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313

1414
steps:
1515
- name: Checkout code
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1717

1818
- name: Set up Python ${{ matrix.python-version }}
19-
uses: actions/setup-python@v5
19+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222

.github/workflows/pypi-release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
runs-on: ubuntu-24.04
2525

2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
2828
- name: Set up Python
29-
uses: actions/setup-python@v5
29+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
3030
with:
3131
python-version: 3.12
3232

@@ -40,7 +40,7 @@ jobs:
4040
run: python -m twine check dist/*
4141

4242
- name: Upload built archives
43-
uses: actions/upload-artifact@v4
43+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
4444
with:
4545
name: pypi_archives
4646
path: dist/*
@@ -54,13 +54,13 @@ jobs:
5454

5555
steps:
5656
- name: Download built archives
57-
uses: actions/download-artifact@v4
57+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
5858
with:
5959
name: pypi_archives
6060
path: dist
6161

6262
- name: Create GH release
63-
uses: softprops/action-gh-release@v2
63+
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
6464
with:
6565
draft: true
6666
files: dist/*
@@ -77,11 +77,11 @@ jobs:
7777

7878
steps:
7979
- name: Download built archives
80-
uses: actions/download-artifact@v4
80+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131
8181
with:
8282
name: pypi_archives
8383
path: dist
8484

8585
- name: Publish to PyPI
8686
if: startsWith(github.ref, 'refs/tags')
87-
uses: pypa/gh-action-pypi-publish@release/v1
87+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b

0 commit comments

Comments
 (0)